.\" This manual page was generated from the file FtpModDate.html. .TH FtpModDate 3 "20 June 1998" FTPlib .SH NAME FtpModDate \- Determine last modification time of a remote file. .SH "SYNOPSIS" .B "#include " .br .sp .BI "int FtpModDate(char *" path ", char *" buf ", int " max ", " .RS .BI "netbuf *" nControl ");" .SH "PARAMETERS" .TP .B "path" Name of remote file to be checked. .TP .B "buf" A pointer to a buffer where the result should be returned. .TP .B "max" Specifies the size of the user's buffer. .TP .B "nControl" A handle returned by FtpConnect(). .SH "DESCRIPTION" .LP FtpModDate() attempts to determine the last access time of a remote file and return it to the user's buffer. The date and time are returned as a string in the format 'YYYYMMDDHHMMSS'. .SH "RETURN VALUE" .LP If a good response is received and the date and time are successfully parsed out of the result, 1 is returned. Otherwise, 0 is returned. .LP Some servers may not support the MDTM command.