Downloading ASCII text files |
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
|