Enum FtpError
- Namespace
- FluentFTP
- Assembly
- FluentFTP.dll
Defines how multi-file processes should handle a processing error.
[Flags]
public enum FtpError
- Extension Methods
Fields
DeleteProcessed = 1
If any files have completed successfully (or failed after a partial download/upload) then should be deleted.
This will simulate an all-or-nothing transaction downloading or uploading multiple files. If this option is not combined with Stop or Throw then the method will continue to process all items whether if they are successful or not and then delete everything if a failure was encountered at any point.None = 0
No action is taken upon errors. The method absorbs the error and continues.
Stop = 2
The method should stop processing any additional files and immediately return upon encountering an error. Cannot be combined with Throw
Throw = 4
The method should stop processing any additional files and immediately throw the current error. Cannot be combined with Stop