Discuss this help topic in SecureBlackbox Forum


TElSimpleFTPSClient     See also     

Filter: C#  VB.NET  Pascal  C++  PHP  Java  

Returns file date and time.


    DateTime GetFileTime(string AFilename);

    Function GetFileTime(ByVal AFilename As String) As DateTime

    function GetFileTime(const AFilename) : TDateTime;

    int64_t GetFileTime(const std::string &AFilename);

    DateTime GetFileTime(string $AFilename)

    Date getFileTime(String AFilename);


  • AFileName - the name of the file to get information about

Return value

    The date of the file as repored by the server.


    Use this method to retrieve the file date. This method attempts to use MDTLM and MLST commands if available, otherwise reverts to LIST command.

    General rule is that you specify only the name of the file, which should reside in current directory. If you need to check the file with path, change the directory using CWD command before calling this method. Behavior of the method in case when AFilename contains a path is undefined (server-dependent).

See also:     GetFileList     ListDirectory    

Discuss this help topic in SecureBlackbox Forum