Expand Minimize
3 out of 6 rated this helpful - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wininet.h

Library

Wininet.lib

DLL

Wininet.dll

See also

FTP Sessions
WinINet Functions

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.