...
Download options. See,FileTransferOptions,for more details.
Example
Downloading file from url
Code Block | ||
---|---|---|
| ||
//Creating File Transfer Option var fileTransferOptions = { RemoteHost : 'www.emakin.com', //Url RemotePath : 'images/image.jpg', //Location Port : 80, //Port Protocol : 'HTTP' //Protocol }; //Downloading File var file = $Files.Download("FileName", 'image/jpeg', fileTransferOptions); |
...