Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1 KB

FtpGetFileSize.md

File metadata and controls

47 lines (32 loc) · 1 KB

Home

Function name : FtpGetFileSize

Group: Internet Functions (WinInet) - Library: wininet


Retrieves the file size of the requested FTP resource.


Code examples:

How to retrieve the size of a remote file (FTP)

Declaration:

DWORD FtpGetFileSize(
    HINTERNET hFile,
    LPDWORD lpdwFileSizeHigh
);
  

FoxPro declaration:

DECLARE INTEGER FtpGetFileSize IN wininet;
	INTEGER   hFile,;
	INTEGER @ 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 value:

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