FTP failure | Thales IoT Developer Community
February 15, 2018 - 1:54pm, 1622 views
Hello,
Trying to send files per FTP on EHS6, using the internet services (SISW) I found the following issue:
After sending the last packet and finishing transmission with "^SISW=0,0,1" I get: "^SISW: 0,0,0" and "^SISW:0,2". According to the manual should this confirm successful transmission.
But sometimes transmission failes and no or incomplete file appears on the server.
When transmission was successful, the FTP server reports "^SIS: 0,0,2100,"226 Transfer OK"" before the module sends the "^SISW:0,2" confirmation.
Does any one have experience whether this is an issue of the EHS6 or the FTP server. Customer uses FileZilla Server version 0.9.36 beta? Have I to wait in any case for the "Transfer OK" from the server (would be a problem because e.g TC63i does not provide server messages like this)? Can it be, that regardless of confirmation by "^SISW:0,2" a transmission may fail?
Unfortunately I don't have the possibility to try another FTP server in this case.
I never had such problems before (we have thousands of units in field), so Ithink it may have to do with the server version.
Thanks for your help
Klaus
Hello,
I believe there should be some error message in case of failure. How is it in your EHS6 tests? Regardless if there is "^SIS: 0,0,2100,"226 Transfer OK"" for EHS6 or there is not for TC63i for both there is "^SISW:0,2" which means that the data transfer was finished and a connection closed. I think that for test you could send AT^SISE=<srvProfileId> in the end to be sure if any error was detected and AT+CEER for any general network error.
If there was no error detected on the module side while the file is incomplete on the server we could suspect that something went wrong on the server. But then analyzing the server logs or some testing with another server or pcap traces might be needed to get more information on what could be wrong.
Regards,
Bartłomiej
Thank you Bartłomiej, I will check the errors.
Best regards
Klaus