PLS83-EP FTP get stage show error message : File path wrong | Telit Cinterion IoT Developer Community
February 8, 2021 - 4:34am, 3055 views
Hi all,
I got an issue when I used AT command for PLS83-EP evk via the terminal tool putty and the details as flow :
Step1 : AT+CPIN="****"
Response : OK
Step2 : AT+COPS?
Response : "+COPS: 1,0,""**** Telecom"",7
OK"
Step3 : AT+CGATT=1
Response : OK
Step4 : AT+CGDCONT=1,"IP","internet"
Response : OK
Step5 : AT^SICA=1,1
Response : OK
Step6 : AT+CGPADDR=1
Response : +CGPADDR: 1,"10.***.***.***"
OK
//It means connected to internet and get ip address correctly.
Step7 : AT^SISX="Ping",1,"168.95.1.1" //It means module can uses Ping command to check the network.
Response : AT^SISX="Ping",1,"168.95.1.1"
^SISX: "Ping",1,1,"168.95.1.1",267
^SISX: "Ping",2,1,1,1,0,0
^SISX: "Ping",3,1,267,267,267
OK
Step8 : AT^SISS=1,srvType,"Ftp"
Response : OK
Step9 : AT^SISS=1,conId,"1"
Response : OK
Step10 : AT^SISS=1,address,"ftp://ftp.heise.de/pub"
Response : OK
Step11 : AT^SISS=1,cmd,"fget"
Response : OK
Step12 : AT^SISS=1,user,"anonymous"
Response : OK
Step13 : AT^SISS=1,passwd,"tester@google.com"
Response : OK
Step14 : AT^SISS=1,path,"file:///a:/data/" //Alse used another path "file:///c:/data/", but the error message is same.
Step15 : AT^SISS=1,files,"INDEX"
Response : OK
Step16 : AT^SISO=1
Response : ^SIS: 1,0,2100,"Ftp connect 193.99.144.79:21"
^SIS: 1,0,2100,"220 Hallo auf ftp.heise.de."
^SIS: 1,0,2100,"230 Login successful."
^SIS: 1,0,100,"File path wrong: file:///a:/data/INDEX"
^SISR: 1,2
When I got this error message, I tried to change the file path file:///c:/data/ or Linux path /home/userneal/data under Ubuntu base but the error is same.
Could anyone met the same issue and solved it??
Thanks a bunch
Hello,
it should be the local path on the module to store the downloaded file.
Does this folder exist?
Have you tried the default path or not to specify the path at all for test?
I don't have this module now to test.
BR,
Bartłomiej
Hi Bartłomiej,
Understood, So the file path should be store in the module side either NOT PC site's path, right?
When I used the default path as "AT^SISS=1,path,"/", it will rereturn as blow :
^SIS: 1,0,2100,"Ftp connect 193.99.144.79:21"
^SIS: 1,0,2100,"220 Hallo auf ftp.heise.de."
^SIS: 1,0,2100,"230 Login successful."
^SIS: 1,0,48,"Remote peer has closed the connection"
^SIS: 1,0,2100,"Fget: INDEX 359 bytes"
^SISR: 1,2
Sorry for Last question :
How to verify and get the file on module site??
Thanks
KH
Hello,
The default path points to a: drive of the module ("file:///a:"). You can read the file from there with AT^SFSA command.
Regards,
Bartłomiej
Hi Bartłomiej,
Thanks for your reply.
It has some reason(Chinese New Year) therefore I can't verify it immedically.
I'll try it at 2/22.
Very thanks!
Hi Bartłomiej,
I already verified the AT command on the module, but it response '+CME ERROR: unknown'
Also, I searched this issue on the website and got the result as same with me :
" https://iot-developer.thalesgroup.com/threads/unable-access-atsfsa "
I used ATI1 and response as follow :
"ATI1
Cinterion
PLS83-EP
REVISION 00.906
A-REVISION 01.000.00"
Should I update the firmware for this module?
Very thanks!
Please send AT+CMEE=2 and paste the log how you try to access the file system. The link points to an old discussion about a different module type. So it may not be much helpful here.
Hi Bartłomiej,
I pasted test log as follow :
^SYSSTART
+CIEV: prov,1,"ROW_Generic_3GPP"
AT+CPIN?
+CPIN: SIM PIN
OK
AT+CPIN="0000"
OK
AT+COPS?
+COPS: 1,0,"Chunghwa Telecom",7
OK
AT+CGATT=1
OK
AT+CGDCONT=1,"IP","internet"
OK
AT^SICA=1,1
OK
AT^SICA=1,1
OK
AT+CGPADDR=1
+CGPADDR: 1,"10.133.184.224"
OK
AT^SISX="Ping",1,"168.95.1.1"
^SISX: "Ping",1,1,"168.95.1.1",246
^SISX: "Ping",2,1,1,1,0,0
^SISX: "Ping",3,1,246,246,246
OK
AT^SISS=1,srvType,"Ftp"
OK
AT^SISS=1,conId,"1"
OK
AT^SISS=1,address,"ftp://ftp.heise.de/pub/"
OK
AT^SISS=1,cmd,"fget"
OK
AT^SISS=1,user,"anonymous"
OK
AT^SISS=1,passwd,"tester@google.com"
OK
AT^SISS=1,path,""
OK
AT^SISS=1,files,"INDEX"
OK
AT^SISO=1
OK
^SIS: 1,0,2100,"Ftp connect 193.99.144.79:21"
^SIS: 1,0,2100,"220 Hallo auf ftp.heise.de."
^SIS: 1,0,2100,"230 Login successful."
^SIS: 1,0,48,"Remote peer has closed the connection"
^SIS: 1,0,2100,"Fget: INDEX 359 bytes"
^SISR: 1,2
AT+CMEE=2
OK
AT^SFSA=?
+CME ERROR: unknown
AT+CMEE=2
OK
It seems download file from ftp server success, but I still cann't use AT^SFSA=? to check anythings.
Best Regards
Kun-hsien
OK, thanks, that's really strange.
AT^SFSA=? is supposed to display the possible parameters. Have you actually tried to use this command to open and read the file? Unfortunately I don't have such module to try. Anyway this module you have is not yet a release version but the sample, so you may be right that the firmware update may be helpful. I think that you need to contact the person that supplied you with this module in such a case.
Best regards,
Bartłomiej
Hi Bartłomiej,
Thanks a lot!
I'll contact with the region supplier for this case.
Best Regards
Kun-hsien