ftp_get

(PHP 3>= 3.0.13, PHP 4 , PHP 5)

ftp_get -- Scarica un file dal server FTP

Descrizione

int ftp_get ( int ftp_stream, string file_in_locale, string file_remoto, int mode)

ftp_get() recupera file_remoto dal server FTP, e lo salva come file_in_locale localmente. La modalità di trasferimento indicata dal parametro mode deve essere specificata come FTP_ASCII oppure FTP_BINARY.

Restituisce TRUE se a buon fine, FALSE in caso di errore.

Vedere anche ftp_fget().