FTPConnectionDeleteOnFailure Property |
Controls whether or not a file is deleted when a failure occurs.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic virtual bool DeleteOnFailure { get; set; }Public Overridable Property DeleteOnFailure As Boolean
Get
Set
public:
virtual property bool DeleteOnFailure {
bool get ();
void set (bool value);
}abstract DeleteOnFailure : bool with get, set
override DeleteOnFailure : bool with get, set
Property Value
Type:
Boolean
Remarks
If true, a partially downloaded file is deleted if there
is a failure during the download. For example, the connection
to the FTP server might have failed. If false, the partially
downloaded file remains on the FTP client machine - and the download
may be resumed, if it is a binary transfer.
By default this flag is set to true.
See Also