ftp_put

(PHP 3>= 3.0.13, PHP 4 )

ftp_put -- Sube un fichero al servidor FTP.

Descripción

int ftp_put ( int ftp_stream, string remote_file, string local_file, int mode)

Si tiene éxito, devuelve TRUE. En caso de error, devuelve FALSE.

ftp_put() sube el fichero local local_file al servidor FTP y lo guarda como remote_file. El modo de transferencia especificado por el parámetro mode debe ser FTP_ASCII o bien FTP_BINARY.