If the ProgressBar is on Form2, then the SynchronizingObject is Form2.
Leave the event handler (file_transfer) in the FTP class, the library will automatically make the call on the main thread. You can refer to the ProgessBar in the event handler through the Form2 reference you will use to set the SynchronizingObject.
Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by André (had 2543 views)