Dart.Ssh Namespace > Sftp Class : AutoSetTime Property |
'Declaration <DefaultValueAttribute(True)> Public Property AutoSetTime As Boolean
'Usage Dim instance As Sftp Dim value As Boolean instance.AutoSetTime = value value = instance.AutoSetTime
[DefaultValue(true)] public bool AutoSetTime {get; set;}
[DefaultValue(true)] public: __property bool get_AutoSetTime(); public: __property void set_AutoSetTime( bool value );
[DefaultValue(true)] public: property bool AutoSetTime { bool get(); void set ( bool value); }
After a Put, a SetAttributes operation is performed to update the transferred file's MTIME attribute if this property is true. This can result in the method throwing an exception if the file is immediately removed or moved on the server.
After a Get, the local file will be updated with the file's modified time on the server if this property is true.