From 7ec3650749b2c4baf1600bf09fdf3e41f06d87d1 Mon Sep 17 00:00:00 2001
From: Derek Jones
Permissions are available if you are running PHP 5 and can be passed as an octal value in the fourth parameter.
+Downloads a file from your server. You must supply the remote path and the local path, and you can optionally set the mode. +Example:
+ +$this->ftp->download('/public_html/myfile.html', '/local/path/to/myfile.html', 'ascii');
+
+Mode options are: ascii, binary, and auto (the default). If +auto is used it will base the mode on the file extension of the source file.
+ +Returns FALSE if the download does not execute successfully (including if PHP does not have permission to write the local file)
+ +Permits you to rename a file. Supply the source file name/path and the new file name/path.
-- cgit v1.2.3-24-g4f1b