Downloading ASCII text files |
To download ASCII text files you must set the transfer mode to ASCII using the Ftp#setAscii 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 ASCII ftp.setAscii();
// download all files ending with .txt extension to current local directory ftp.mdownload("*.txt");
See also
|