Specifies the transfer priorities that the FtpClient class supports.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
| Member Name | Description | Value |
|---|---|---|
| priorityBackground | This priority significantly reduces the memory, processor and network resource utilization for the transfer. It is typically used with worker threads running in the background when the amount of time required perform the transfer is not critical. | 0 |
| priorityLow | This priority lowers the overall resource utilization for the transfer and meters the bandwidth allocated for the transfer. This priority will increase the average amount of time required to complete a file transfer. | 1 |
| priorityNormal | The default priority which balances resource utilization and transfer speed. It is recommended that most applications use this priority. | 2 |
| priorityHigh | This priority increases the overall resource utilization for the transfer, allocating more memory for internal buffering. It can be used when it is important to transfer the file quickly, and there are no other threads currently performing file transfers at the time. | 3 |
| priorityCritical | This priority can significantly increase processor, memory and network utilization while attempting to transfer the file as quickly as possible. If the file transfer is being performed in the main UI thread, this priority can cause the application to appear to become non-responsive. No events will be generated during the transfer. | 4 |
| priorityInvalid | An invalid transfer priority which indicates an error condition. | -1 |
| priorityDefault | The default transfer priority. This is the same as specifying priorityNormal. | 2 |
| priorityLowest | The lowest valid transfer priority. This is the same as specifying priorityBackground. | 0 |
| priorityHighest | The highest valid transfer priority. This is the same as specifying priorityCritical. | 4 |
Namespace: SocketTools
Assembly: SocketTools.FtpClient (in SocketTools.FtpClient.dll)