Downloading ASCII text files

Top  Previous  Next

To download ASCII text files you must set the transfer mode to ASCII using the Ftps#setAscii method. All files will be downloaded relative to your current remote directory.

 

Example

 

// turn off auto transfer mode detection if enabled

ftps.setAuto(false);

 

// set transfer mode to ASCII

ftps.setAscii();    

 

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

ftps.mdownload("*.txt");

 

 

See also

 

Setting your remote directory





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

© 2021 JSCAPE LLC