Expand Minimize

FtpGetFileSize function

Retrieves the file size of the requested FTP resource.

Syntax


DWORD FtpGetFileSize(
  _In_   HINTERNET hFile,
  _Out_  LPDWORD lpdwFileSizeHigh
);

Parameters

hFile [in]

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 value

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

Remarks

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wininet.h

Library

Wininet.lib

DLL

Wininet.dll

See also

FTP Sessions
WinINet Functions

 

 

Show:
© 2014 Microsoft