Ftp API Reference
Using ftp from the script by calling these functions.
Connect to the server. After connect, do login.
Login into the Ftp server. Call this function after Ftp.Connect().
Close ftp session.
Returns the current directory of the remote host.
Change remote dir.
Delet remote file $remote.
Download remote file $remote, and store it into $path.
List up files and directories in the current dir.
Returns the array of child directories of current directory.
Remove the remote directory.
Rename the remote file.
Set the file type to transfer in. Available type is 'ascii' and 'binary'.
Set the policy of listing file and directories. By setting $listHiddenFiles to true, hidden files are shown.
Upload a local file to the remote as $remote.