Uploading binary files

Top  Previous  Next

To upload binary files you must set the transfer mode to binary (the default) using the Ftp#setBinary method. All files with relative paths will be uploaded from your current local directory.

 

Example

 

// turn off auto transfer mode detection if enabled

ftp.setAuto(false);

 

// set transfer mode to binary

ftp.setBinary();

 

// upload all files in current local directory

ftp.mupload("*.*");

 

See also

 

Setting your local directory





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

© 2021 JSCAPE LLC