Sets the date/timestamp of the remote file from the FTP server.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public void SetFileTimeStamp(
	string remoteName,
	DateTime dateFile
)
Visual Basic
Public Sub SetFileTimeStamp ( _
	remoteName As String, _
	dateFile As DateTime _
)
Visual C++
public:
void SetFileTimeStamp(
	String^ remoteName, 
	DateTime dateFile
)

Parameters

remoteName
Type: System..::..String
The remote file.
dateFile
Type: System..::..DateTime

Remarks

This feature is not supported by RFC-959 and may not work on all FTP servers.

Exceptions

ExceptionCondition
Jscape.Ftp..::..FtpExceptionIf an I/O or FTP error occurs.

See Also