Controls whether or not a file is deleted when a failure occurs.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
public bool DeleteOnFailure { get; set; } |
| Visual Basic |
|---|
Public Property DeleteOnFailure As Boolean Get Set |
| Visual C++ |
|---|
public: virtual property bool DeleteOnFailure { bool get () sealed; void set (bool value) sealed; } |
Implements
IFileTransferClient..::..DeleteOnFailure
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 client machine - and the download may be resumed, if it is a binary transfer.
By default this flag is set to true.