Gets the date/timestamp of the remote file from the FTP server.
Namespace: Jscape.FtpAssembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0
Syntax
C# |
---|
public DateTime GetFileTimeStamp( string remoteName ) |
Visual Basic |
---|
Public Function GetFileTimeStamp ( _ remoteName As String _ ) As DateTime |
Visual C++ |
---|
public: DateTime GetFileTimeStamp( String^ remoteName ) |
Parameters
- remoteName
- Type: System..::..String
The remote file.
Return Value
The date/timestamp of the remote file.
Remarks
This feature is not supported by RFC-959 and may not work
on all FTP servers.
Exceptions
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If an I/O or FTP error occurs. |