oFTP.GetFileInfo()

FTPv2.ahk / oFTP

oFTP.GetFileInfo()


Get File info from WIN32_FIND_DATA structure

oFTP.GetFileInfo(DataStruct)

Parameters

DataStruct

Data structure retrieved by .FindFirstFile() / .FindNextFile() functions

Return Value

Returns an object (oFile) with file details (properties described below)
oFile.Name

Name of File

oFile.CreationTime

Creation Time (0 if absent)

oFile.LastAccessTime

Last Access Time (0 if absent)

oFile.LastWriteTime

Last Write Time (0 if absent)

oFile.Size

File Size in bytes

oFile.Attribs

String of file attributes

Remarks

None.

Related

oFTP.FindFirstFile(), oFTP.FindNextFile()

Example

; None.