Need an example of writing an command AT^SISS=0,cmd,get[offset] | Thales IoT Developer Community
May 30, 2017 - 3:21pm, 2358 views
Hello! The FTP server to which I connect works in the ASCII ****. In this way, when using an AT^SISS=0,cmd,size command setver answer:"Not allowed in ASCII ****", and i can't get <OffsetString> from the <urcInfoId> 2100 of the "^SIS" URC requested before by using "size",like wrote in "AT^SISS command's parameter description.
P.S When i use "size" command, i get answer from FTP server:
^SIS: 0,0,2100,"FTP Login OK"
^SIS: 0,0,2100,"size FileName.txt"
^SIS: 0,0,2100,"S:504 FileName.txt: Can not size in ASCII ****"
^SIS: 0,0,2100,"504 FileName.txt: Can not size in ASCII ****"
^SIS: 0,0,2100,"221 Closing"
^SISR: 0,2
Hello,
It is the information from server that it cannot size in ASCII ****. So the module can probably do nothing about it.
Have you try to change to binary ****? You can request the ASCII or binary **** with "ftMode" parameter.
Have you tried with some other FTP client in ASCII ****?
Regards,
Bartłomiej
Before that, I need to clarify what I'm using Cinterion® EHS5-E GSM module, and i can,t find "ftMode" parameter in datasheet:
Document Name: Cinterion® EHS5-E AT Command Set
Version: 02.000
Date: November 8, 2013
DocId: EHS5-E_ATC_V02.000
How to swtch this module into the binary ****?
Even if I can not switch module to binary **** my current goal read data from file on FTP server. I need use offset in read operation in case broken downloading data. But in datasheet and in Internet i can't find information about correct writing AT command. I try different modifications, but no effect. For example:
AT^SISS=0,cmd,get4
AT^SISS=0,cmd,get,4
AT^SISS=0,cmd,get[4]
Hello,
I have checked the documentation for revision 2 and there is no "ftMode" indeed. It is in the documentation for revision 3.
Please check the module's firmware version with ATI1. The latest available is REVISION 03.001 A-REVISION 00.000.51.
To configure the offset you should use quotation marks. Example:
AT^SISS=1,cmd,"get 100"
Best regards,
Bartłomiej
Thankyou!
The string AT^SISS=1,cmd,"get 100" is all of i need.
This work!!!