.\" This manual page was generated from the file FtpSize.html. .TH FtpSize 3 "20 June 1998" FTPlib .SH NAME FtpSize \- Determine size of remote file. .SH "SYNOPSIS" .B "#include " .br .sp .BI "int FtpSize(char *" path ", int *" size ", netbuf *" nControl ");" .SH "PARAMETERS" .TP .B "path" A pointer to a buffer where the result should be returned. .TP .B "size" A pointer to an int where the size will be returned. .TP .B "nControl" A handle returned by FtpConnect(). .SH "DESCRIPTION" .LP FtpSize() attempts to determine the size of a remote file. .SH "RETURN VALUE" .LP If a good response is received and the size is successfully parsed out of the result, 1 is returned. Otherwise, 0 is returned. .LP Some servers may not support the SIZE command. If this request fails, the size may be available in the response to a RETR (FtpOpen()with typ=FTPLIB_FILE_READ).