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