Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

FTP fput does not complete when run a second time on PLS62-W | Telit Cinterion IoT Developer Community

January 17, 2020 - 3:11am, 2058 views

We're seeing a problem when trying to upload files from the FFS over FTP. The send normally completes OK on the first attempt for any profile slot, but a second send using the same slot usually fails to complete. We are closing the profile connection between attempts, but perhaps we need to do something else as well.

We were initially having problems with our own FTP server, so we switched to ftp.dlptest.com to confirm, and the issue persists. The test file is zero bytes to reduce our data usage, but we've tried with longer files too.

Here's a sample log:

^SYSLOADING

^SYSSTART

AT+CGDCONT=1,"IP","***"

ATI1

Cinterion

PLS62-W

REVISION 02.000

A-REVISION 01.000.04

+PBREADY

AT^SICA=1,1

AT^SISC=0

AT^SISS=0,"conId","1"

AT^SISS=0,"address","ftp://ftp.dlptest.com"

AT^SISS=0,"cmd","fput"

AT^SISS=0,"files","Test.txt"

AT^SISS=0,"user","dlpuser@dlptest.com"

AT^SISS=0,"passwd","SzMf7rTE4pCrf9dV286GuNe4N"

AT^SISO=0

^SIS: 0,0,2100,"Ftp open(ftp.dlptest.com:21)"

^SIS: 0,0,2100,"220-######################################################### Please upload your web files to the public_html directory. Note that letters are case sensitive. ######################################################### This is a private system - No anonymous login"

^SIS: 0,0,2100,"FTP Login OK"

^SIS: 0,0,2100,"fput Test.txt"

^SIS: 0,0,2100,"FPUT : Test.txt 0 bytes"

^SISW: 0,2

^SIS: 0,0,2100,"221-Goodbye. You uploaded 0 and downloaded 0 kbytes."

AT^SICA=1,1

AT^SISC=0

AT^SISS=0,"srvType","Ftp"

AT^SISS=0,"conId","1"

AT^SISS=0,"address","ftp://ftp.dlptest.com"

AT^SISS=0,"files","Test.txt"

AT^SISS=0,"user","dlpuser@dlptest.com"

AT^SISS=0,"passwd","SzMf7rTE4pCrf9dV286GuNe4N"

AT^SISO=0

^SIS: 0,0,2100,"Ftp open(ftp.dlptest.com:21)"

^SIS: 0,0,2100,"220-######################################################### Please upload your web files to the public_html directory. Note that letters are case sensitive. ######################################################### This is a private system - No anonymous login"

^SIS: 0,0,2100,"FTP Login OK"

^SIS: 0,0,2100,"fput Test.txt"

The modem continues to respond OK, but we don't get a ^SISW or goodbye response on this profile. Using a different profile will work the first time only.

Any ideas as to what we're doing wrong?