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 server

NOT IMPLEMENTED.

bool ftp_cdup(resource stream)

Changes to the parent directory

NOT IMPLEMENTED.

bool ftp_chdir(resource stream, string directory)

Changes directories

NOT IMPLEMENTED.

int ftp_chmod(resource stream, int mode, string filename)

Sets permissions on a file

NOT IMPLEMENTED.

bool ftp_close(resource stream)

Closes the FTP stream

NOT IMPLEMENTED.

resource ftp_connect(string host [, int port [, int timeout]])

Opens a FTP stream

NOT IMPLEMENTED.

bool ftp_delete(resource stream, string file)

Deletes a file

NOT IMPLEMENTED.

bool ftp_exec(resource stream, string command)

Requests execution of a program on the FTP server

NOT 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 file

NOT 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 server

NOT 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 file

NOT IMPLEMENTED.

mixed ftp_get_option(resource stream, int option)

Gets an FTP option

NOT IMPLEMENTED.

bool ftp_login(resource stream, string username, string password)

Logs into the FTP server

NOT IMPLEMENTED.

int ftp_mdtm(resource stream, string filename)

Returns the last modification time of the file, or -1 on error

NOT IMPLEMENTED.

string ftp_mkdir(resource stream, string directory)

Creates a directory and returns the absolute path for the new directory or false on error

NOT IMPLEMENTED.

int ftp_nb_continue(resource stream)

Continues retrieving/sending a file nbronously

NOT 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 file

NOT 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 nbronly

NOT 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 file

NOT IMPLEMENTED.

int ftp_nb_put(resource stream, string remote_file, string local_file, int mode[, int startpos])

Stores a file on the FTP server

NOT IMPLEMENTED.

array ftp_nlist(resource stream, string directory)

Returns an array of filenames in the given directory

NOT IMPLEMENTED.

bool ftp_pasv(resource stream, bool pasv)

Turns passive mode on or off

NOT IMPLEMENTED.

bool ftp_put(resource stream, string remote_file, string local_file, int mode[, int startpos])

Stores a file on the FTP server

NOT IMPLEMENTED.

string ftp_pwd(resource stream)

Returns the present working directory

NOT IMPLEMENTED.

array ftp_raw(resource stream, string command)

Sends a literal command to the FTP server

NOT IMPLEMENTED.

array ftp_rawlist(resource stream, string directory [, bool recursive])

Returns a detailed listing of a directory as an array of output lines

NOT IMPLEMENTED.

bool ftp_rename(resource stream, string src, string dest)

Renames the given file to a new path

NOT IMPLEMENTED.

bool ftp_rmdir(resource stream, string directory)

Removes a directory

NOT IMPLEMENTED.

bool ftp_set_option(resource stream, int option, mixed value)

Sets an FTP option

NOT IMPLEMENTED.

bool ftp_site(resource stream, string cmd)

Sends a SITE command to the server

NOT IMPLEMENTED.

int ftp_size(resource stream, string filename)

Returns the size of the file, or -1 on error

NOT IMPLEMENTED.

resource ftp_ssl_connect(string host [, int port [, int timeout]])

Opens a FTP-SSL stream

NOT IMPLEMENTED.

string ftp_systype(resource stream)

Returns the system type identifier

NOT IMPLEMENTED.


parrot