Back to product page

GetDate method


Retrieves file or folder date.

Type

None

Syntax

  • Basic
object.GetDate[RemotePath]
The GetDate(object,RemotePath) syntax has these parts:
objectAn expression evaluating to an object of type wodFtpDLX.
RemotePathOptional. A Variant value. Full path to a directory on the server.

Remarks

The GetDate method will retrieve information about a file or directory on the remote server, and will return the modification date (in FTP, FTPS and FTPSimplicit protocols), or both modification and access date (in SFTP protocol). Result of the command will be provided in Attributes event which will be fired afterwards.

If Blocking property is set to True, GetDate will return modification value immediately so you can use it in scripting environment where events are not available.

Platforms

Windows