...
{ Password : string Port : number Protocol : string RemoteHost : string RemotePath : string UserName : string }
Examples
...
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); |