NAME ^

php_ftp.pir - PHP ftp Library

DESCRIPTION ^

Functions ^

bool ftp_alloc(resource stream, int size[, &response])
Attempt to allocate space on the remote FTP serverNOT IMPLEMENTED.
bool ftp_cdup(resource stream)
Changes to the parent directoryNOT IMPLEMENTED.
bool ftp_chdir(resource stream, string directory)
Changes directoriesNOT IMPLEMENTED.
int ftp_chmod(resource stream, int mode, string filename)
Sets permissions on a fileNOT IMPLEMENTED.
bool ftp_close(resource stream)
Closes the FTP streamNOT IMPLEMENTED.
resource ftp_connect(string host [, int port [, int timeout]])
Opens a FTP streamNOT IMPLEMENTED.
bool ftp_delete(resource stream, string file)
Deletes a fileNOT IMPLEMENTED.
bool ftp_exec(resource stream, string command)
Requests execution of a program on the FTP serverNOT IMPLEMENTED.
bool ftp_fget(resource stream, resource fp, string remote_file, int mode[, int resumepos])
Retrieves a file from the FTP server and writes it to an open fileNOT IMPLEMENTED.
bool ftp_fput(resource stream, string remote_file, resource fp, int mode[, int startpos])
Stores a file from an open file to the FTP serverNOT IMPLEMENTED.
bool ftp_get(resource stream, string local_file, string remote_file, int mode[, int resume_pos])
Retrieves a file from the FTP server and writes it to a local fileNOT IMPLEMENTED.
mixed ftp_get_option(resource stream, int option)
Gets an FTP optionNOT IMPLEMENTED.
bool ftp_login(resource stream, string username, string password)
Logs into the FTP serverNOT IMPLEMENTED.
int ftp_mdtm(resource stream, string filename)
Returns the last modification time of the file, or -1 on errorNOT IMPLEMENTED.
string ftp_mkdir(resource stream, string directory)
Creates a directory and returns the absolute path for the new directory or false on errorNOT IMPLEMENTED.
int ftp_nb_continue(resource stream)
Continues retrieving/sending a file nbronouslyNOT IMPLEMENTED.
int ftp_nb_fget(resource stream, resource fp, string remote_file, int mode[, int resumepos])
Retrieves a file from the FTP server asynchronly and writes it to an open fileNOT IMPLEMENTED.
int ftp_nb_fput(resource stream, string remote_file, resource fp, int mode[, int startpos])
Stores a file from an open file to the FTP server nbronlyNOT IMPLEMENTED.
int ftp_nb_get(resource stream, string local_file, string remote_file, int mode[, int resume_pos])
Retrieves a file from the FTP server nbhronly and writes it to a local fileNOT IMPLEMENTED.
int ftp_nb_put(resource stream, string remote_file, string local_file, int mode[, int startpos])
Stores a file on the FTP serverNOT IMPLEMENTED.
array ftp_nlist(resource stream, string directory)
Returns an array of filenames in the given directoryNOT IMPLEMENTED.
bool ftp_pasv(resource stream, bool pasv)
Turns passive mode on or offNOT IMPLEMENTED.
bool ftp_put(resource stream, string remote_file, string local_file, int mode[, int startpos])
Stores a file on the FTP serverNOT IMPLEMENTED.
string ftp_pwd(resource stream)
Returns the present working directoryNOT IMPLEMENTED.
array ftp_raw(resource stream, string command)
Sends a literal command to the FTP serverNOT IMPLEMENTED.
array ftp_rawlist(resource stream, string directory [, bool recursive])
Returns a detailed listing of a directory as an array of output linesNOT IMPLEMENTED.
bool ftp_rename(resource stream, string src, string dest)
Renames the given file to a new pathNOT IMPLEMENTED.
bool ftp_rmdir(resource stream, string directory)
Removes a directoryNOT IMPLEMENTED.
bool ftp_set_option(resource stream, int option, mixed value)
Sets an FTP optionNOT IMPLEMENTED.
bool ftp_site(resource stream, string cmd)
Sends a SITE command to the serverNOT IMPLEMENTED.
int ftp_size(resource stream, string filename)
Returns the size of the file, or -1 on errorNOT IMPLEMENTED.
resource ftp_ssl_connect(string host [, int port [, int timeout]])
Opens a FTP-SSL streamNOT IMPLEMENTED.
string ftp_systype(resource stream)
Returns the system type identifierNOT IMPLEMENTED.


parrot