Downloading binary files

Top  Previous  Next

To download binary files you must set the transfer mode to binary (the default) using the Ftp#setBinary method. All files will be downloaded relative to your current remote directory.

 

Example

 

// turn off auto transfer mode detection if enabled

ftp.setAuto(false);

 

// set transfer mode to binary

ftp.setBinary();    

 

// download all files ending with .gif extension to current local directory

ftp.mdownload("*.gif");

 

 

See also

 

Setting your remote directory





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC