FtpGetFileSize

This function retrieves the file size of the requested FTP resource.

DWORD FtpGetFileSize(
  HINTERNET hFile,
  LPDWORD lpdwFileSizeHigh
);

Parameters

  • hFile
    [in] HINTERNET handle returned from a call to FtpOpenFile.
  • lpdwFileSizeHigh
    [out] Pointer to the high-order unsigned long integer of the file size of the requested FTP resource.

Return Values

Returns the low-order unsigned long integer of the file size of the requested FTP resource.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Wininet.h.
Link Library: Wininet.lib.

See Also

WinInet Functions

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.