To improve performance of repeated FTP connections, create a global XceedFtp instance that you keep alive (and don’t use) as long as you need to do FTP operations (with other instances). This will avoid creating and destroying the thread pool everytime you create an XceedFtp instance.
The thread pool is created when the first instance of XceedFtp is createrd by the process, and destroyed when the last instance is released.
This optimization applies only when creating and destroying multiple instances of Xceed FTP. If you are using only one instance of the Xceed FTP Library to accomplish multiple operations this optimization is not necessary.
Imported from legacy forums. Posted by Xceed admin (had 1619 views)