ftp_mdtm

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

ftp_mdtm -- Restituisce la data di ultima modifica di un dato file

Descrizione

int ftp_mdtm ( int ftp_stream, string remote_file)

ftp_mdtm() Controlla la data di ultima modifica di un file, e la restituisce in formato UNIX timestamp. Se si verifica un errore, oppure il file non esiste, viene restituito -1. Da notare che non tutti i server supportano questa caratteristica.

Restituisce uno UNIX timestamp se a buon fine, oppure -1 in caso di errore.

Nota: ftp_mdtm() non funziona con le cartelle.