ftpErrorLicense

My application uses the ftp client in many threads at once to communicate with many ftp servers at once. Sometimes when logging on I would get ftpErrorLicense returned. To get around this problem I have placed the create instance, logging on, and logging off in a critical section. Should I need to do this given that I am using the MTA version of the client?

Thanks,
Graham

Please make sure you are using the latest version of the FTP Library. There was a small problem in an earlier version.

Regards,
-Mat

This work a lot better now thanks. It does appear though that LoadLicenseKeyData is not thread safe, but I can live with that.

Thanks,
Graham

Hello ..

I've added the additional critical section to the LoadLicenseKeyData and LoadLicenseKeyFile methods. The patch will be in the next build.
The Global is implemented as a singleton. Therefore in your sample application you only have to call the LoadLicenseKey* method once and not every time you create a new FTPConnection object.

Regards,
-Mat

Thanks.