4D Internet Commands v14

FTP_GetFileInfo

Home

 
4D Internet Commands v14
FTP_GetFileInfo

FTP_GetFileInfo 


 

FTP_GetFileInfo ( ftp_ID ; hostPath ; size ; modDate ; modTime ) -> Function result 
Parameter Type   Description
ftp_ID  Longint in Reference to a FTP login
hostPath  Text in Pathname to document
size  Longint in Size of document
modDate  Date in Modification Date
modTime  Time in Modification Time
Function result  Integer in Error Code

The FTP_GetFileInfo command returns information concerning the last modification of the file designated by hostPath.

ftp_ID is the long integer reference to the FTP session established with FTP_Login.

hostPath is the text path to the document to return information about.

Note: The FTP_GetFileInfo command may modify the Current Working Directory (CWD) if hostPath is a full pathname which indicates a directory different from the CWD. In this case, the CWD becomes the directory defined by the hostPath parameter.

size is a long integer variable or field to hold the size of the file identified by hostPath.

modDate and modTime return the date and time of the last modification of the file.

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC File Transfer
Number: 88943

 
HISTORY 

Created: 4D Internet Commands 6.5

 
SEE ALSO 

FTP_GetDirList

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)