AT^SFSA="copy" Error:100 Invalid drive | Telit Cinterion IoT Developer Community
February 11, 2016 - 1:03pm, 4780 views
Hello,
I have small GUI program which enables me to issue commands to BGS5T without typing AT commands. It can install new MIDlets, delete them, set watchdog, GPIO...
It can also operate with files, i can download files to module, delete them and raname, but I can't get to implement copy feature.
I am using command
AT^SFSA="copy","a:/statistics.txt","C:Users/Default/Desktop"
and I allways get this response:
Response :^SFSA: 100
Response :ERROR
I checked the documentation for description of error 100 and it says: invalid drive
I can open the same file with AT^SFSA="open". Could somebody explain me what invalid drive means?
Best regards,
Jure
Hi,
I tried to test this, as well. I tried to copy a small image file from Module (a:/) to PC:
at^sfsa="copy","a:/Finnish_flag.png","c:/Users/antero.markkula/Documents"
^SFSA: 100 <-invalid drive
+CME ERROR: unknown
The funny thing was that I could copy the file dragging it from Module (a;/) and dropping it to PC.
------------------------------------------------------------------------------------
The second test was to copy a text file from PC to Module (a:/):
at^sfsa="copy","c:/Users/antero.markkula/Documents/NewNMEAFile.txt","a:/"
^SFSA: 101 <-invalid path
+CME ERROR: unknown
I could again drag the file from PC and drop to Module (a:/).
-------------------------------------------------------------------------------------
Best Regards,
Antero
Antero Markkula
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
E-mail: antero.markkula@enkom-active.fi
Hello Jure,
As far as I know the AT^SFSA command can operate on the module's flash file system only and as I can see you are trying to copy some file to drive C.
Also you are missing the "/" in the destination path after ":".
Regards,
Bartłomiej
Hello Bartłomiej,
Yes I was missing "/" in the example I posted, but before that I also tryed with it.
I thought that you can also copy from module to your computer. But yes, it now makes sense that you can't do it just with AT commands.
I will then just read file content, and create new file on computer with Java code.
Thank you.
EDIT: Also to who can I repot some kind of safety problem? I think that I allready tryed it to report once, but I didn't get any response.
Regards,
Jure
Hello Jure,
I'm not sure what you mean by safety problem - could you explain?
@Antero: For coping files from the module to PC and vice versa you've been using MES programme which is provided by Gemalto and is using OBEX protocol. The AT^SFSA command can only operate on the module's file system.
MES also provides some exe files that can be called from the command line or by some other application.
@Jure: You could use command line MES under your PC Java application for coping files.
Some custom implementation of MES could probably also be possible.
Regards,
Bartłomiej
Hello Bartłomiej,
in Java user guide chapter 7.3.1 is writen:
But in my Java program I can easily open and read .jar and .jad files with use of SFSA commands. This probably wasn't intended since MES won't let you do that.
Best regards,
Jure
Hello Jure,
You are right. I can report this to our internal system or you could try to contact your local technical support.
Regards,
Bartłomiej
Hello Bartłomiej,
I will contact him.
Regards,
Jure
any solution for this problems. we sare facing the same issue with our developments
atte
Mauricio Saldarriaga Quiroz
Grupo Unión
Arquitecto de Soluciones
PBX: +57 4 325 55 55 ext 7021
Fax: +57 4 325 55 56
Calle 16A sur #48b-32 Barrio la Aguacatala
Medellin - Colombia
www.uniongr.com
Hello,
Could you please check the module type and firmware version with ATI1 command?
This problem has been fixed but mayby your firmware does not contain it yet.
Regards,
Bartłomiej