Retrieves the file size of the requested FTP resource.
Syntax
DWORD FtpGetFileSize( IN HINTERNET hFile, OUT LPDWORD lpdwFileSizeHigh );
Parameters
- hFile
- HINTERNET handle returned from a call to FtpOpenFile.
- lpdwFileSizeHigh
- Address of an unsigned long integer that contains the high-order unsigned long integer of the file size in TCHAR.
Return Value
Returns the low-order unsigned long integer of the file size, in TCHAR, of the requested FTP resource.
Function Information
Windows NT Use version 4.0. Implemented as ANSI and Unicode functions. Windows Use Windows 95 and later. Implemented as ANSI and Unicode functions. Header Wininet.h Import Library Wininet.lib Minimum availability Internet Explorer 5
See Also
Microsoft Win32 Internet Functions Overview, FTP Sessions, Microsoft Win32 Internet Functions Reference, FTP Functions