ftp_pasv

(PHP 4, PHP 5, PHP 7) Turns passive mode on or off bool ftp_pasv ( resource $ftp_stream, bool $pasv ) ftp_pasv() turns on or off passive mode. In passive mode, data connections are initiated by the client, rather than by the server. It may be needed if the client is behind firewall. Please note that ftp_pasv() can only be called after a successfull login or otherwise it will fail. Parameters:

ftp_nlist

(PHP 4, PHP 5, PHP 7) Returns a list of files in the given directory array ftp_nlist ( resource $ftp_stream, string $directory ) Parameters: ftp_stream The link identifier of the FTP connection. directory The directory to be listed. This parameter can also include arguments, eg. ftp_nlist($conn_id, "-la /your/dir"); Note that this paramet

ftp_nb_put

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Stores a file on the FTP server (non-blocking) int ftp_nb_put ( resource $ftp_stream, string $remote_file, string $local_file, int $mode [, int $startpos = 0 ] ) ftp_nb_put() stores a local file on the FTP server. The difference between this function and the ftp_put() is that this function uploads the file asynchronously, so your program can perform other operations while the file is bein

ftp_nb_get

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Retrieves a file from the FTP server and writes it to a local file (non-blocking) int ftp_nb_get ( resource $ftp_stream, string $local_file, string $remote_file, int $mode [, int $resumepos = 0 ] ) ftp_nb_get() retrieves a remote file from the FTP server, and saves it into a local file. The difference between this function and ftp_get() is that this function retrieves the file asynchronou

ftp_nb_fput

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Stores a file from an open file to the FTP server (non-blocking) int ftp_nb_fput ( resource $ftp_stream, string $remote_file, resource $handle, int $mode [, int $startpos = 0 ] ) ftp_nb_fput() uploads the data from a file pointer to a remote file on the FTP server. The difference between this function and the ftp_fput() is that this function uploads the file asynchronously, so your progra

ftp_nb_fget

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Retrieves a file from the FTP server and writes it to an open file (non-blocking) int ftp_nb_fget ( resource $ftp_stream, resource $handle, string $remote_file, int $mode [, int $resumepos = 0 ] ) ftp_nb_fget() retrieves a remote file from the FTP server. The difference between this function and ftp_fget() is that this function retrieves the file asynchronously, so your program can perfor

ftp_nb_continue

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Continues retrieving/sending a file (non-blocking) int ftp_nb_continue ( resource $ftp_stream ) Continues retrieving/sending a file non-blocking. Parameters: ftp_stream The link identifier of the FTP connection. Returns: Returns FTP_FAILED or FTP_FINISHED or FTP_MOREDATA.

ftp_mkdir

(PHP 4, PHP 5, PHP 7) Creates a directory string ftp_mkdir ( resource $ftp_stream, string $directory ) Creates the specified directory on the FTP server. Parameters: ftp_stream The link identifier of the FTP connection. directory The name of the directory that will be created. Returns: Returns the newly created

ftp_mdtm

(PHP 4, PHP 5, PHP 7) Returns the last modified time of the given file int ftp_mdtm ( resource $ftp_stream, string $remote_file ) ftp_mdtm() gets the last modified time for a remote file. Note: Not all servers support this feature! Note: ftp_mdtm() does not work with directories. Parameters: ftp_stream The link identifier of the FTP connection.

ftp_login

(PHP 4, PHP 5, PHP 7) Logs in to an FTP connection bool ftp_login ( resource $ftp_stream, string $username, string $password ) Logs in to the given FTP stream. Parameters: ftp_stream The link identifier of the FTP connection. username The username (USER). password The password (PASS).