Hello,
I use your code to interact with a product by FTP.
Yesterday it works perfectly and now I always obtain an error when i send my file.
When i try to the same manually by using Filezilla, it works.
here my code simplify
nsFTP::CFTPClient ftpClient;
nsFTP::CLogonInfo logonInfo("192.168.1.1", 5551, "anonymous","anonymous@user.com");
ftpClient.Login(logonInfo);
success = ftpClient.IsConnected();
success = ftpClient.UploadFile(mStructure.PayloadPath.c_str(),"/jpsumo_update.plf");
So i just login on the FTP, theni check if i am connected. The answer is true so for i am connected.
Then i try to upload the file.
Yesterday, the file was copied perfectly and now, I obtain always false. When i check the product with Filezilla. the file is here but he is empty (its length is 0 byte).
Do you have an idea why it works before but not todau. I precise that i change nothing on this part.
Thanks and regard,
Emile GAULTIER.