XXXIII. Funciones FTP

FTP es el acrónimo de File Transfer Protocol (Protocolo de Transferencia de Ficheros.

Cuando se utiliza el módulo FTP, se definen las siguientes constantes: FTP_ASCII, y FTP_BINARY.

Tabla de contenidos
ftp_cdup -- Cambia al directorio padre
ftp_chdir -- Cambia de directorio en un servidor FTP
ftp_close -- Closes an FTP connection
ftp_connect -- Establece una conexión FTP
ftp_delete -- Borra un fichero del servidor FTP.
ftp_exec -- Requests execution of a program on the FTP server
ftp_fget -- Descarga un fichero del servidor FTP y lo guarda en un fichero abierto.
ftp_fput -- Sube un fichero abierto al servidor FTP.
ftp_get_option -- Retrieves various runtime behaviours of the current FTP stream
ftp_get -- Descarga un fichero del servidor FTP.
ftp_login -- Comienza la sesion en una conexión FTP
ftp_mdtm -- Devuelve la fecha de última modificación del fichero especificado.
ftp_mkdir -- Crea un directorio
ftp_nb_continue -- Continues retrieving/sending a file (non-blocking)
ftp_nb_fget -- Retrieves a file from the FTP server and writes it to an open file (non-blocking)
ftp_nb_fput -- Stores a file from an open file to the FTP server (non-blocking)
ftp_nb_get -- Retrieves a file from the FTP server and writes it to a local file (non-blocking)
ftp_nb_put -- Stores a file on the FTP server (non-blocking)
ftp_nlist -- Devuelve una lista de ficheros del directorio dado.
ftp_pasv -- Activa o desactiva el modo pasivo.
ftp_put -- Sube un fichero al servidor FTP.
ftp_pwd -- Devuelve el nombre del directorio actual
ftp_quit -- Cierra una conexión FTP
ftp_rawlist --  Devuelve una lista detallada de ficheros del directorio dado.
ftp_rename -- Renombra un fichero del servidor FTP.
ftp_rmdir -- Borra un directorio
ftp_set_option -- Set miscellaneous runtime FTP options
ftp_site -- Sends a SITE command to the server
ftp_size -- Devuelve el tamaño del fichero especificado.
ftp_ssl_connect -- Opens an Secure SSL-FTP connection
ftp_systype --  Devuelve el identificador de tipo de sistema del servidor FTP remoto.