FtpGetFileSize
TOC
Collapse the table of content
Expand the table of content

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

 

 

Community Additions

ADD
Show:
© 2016 Microsoft