2 out of 5 rated this helpful - Rate this topic

FtpGetFileSize function

Applies to: desktop apps only

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

 

 

Send comments about this topic to Microsoft

Build date: 2/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ