Uploading binary files

Top  Previous  Next

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

 

Example

 

// turn off auto transfer mode detection if enabled

ftps.setAuto(false);

 

// set transfer mode to binary

ftps.setBinary();

 

// upload all files in current local directory

ftps.mupload("*.*");

 

 

See also

 

Setting your local directory





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

© 2021 JSCAPE LLC