Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

boolean ftp_quit(integer link)


Use ftp_quit to close an FTP connection.


array ftp_rawlist(integer link, string directory)


The ftp_rawlist returns the raw output of an ls -l command on the given directory.


boolean ftp_rename(integer link, string original, string new)


The ftp_rename function changes the name of a file on the remote server.


boolean ftp_rmdir(integer link, string directory)


Use ftp_rmdir to remove a directory.


integer ftp_size(integer link, string path)


The ftp_size function returns the size of a remote file in bytes. If an error occurs, -1 is
returned.


string ftp_systype(integer link)


The ftp_systype function returns the system type of the remote FTP server.

Free download pdf