Hello,
I have bought Adafruit FONA - 3G (GPS/GSM) - model SIM5320E and I'm trying to send a text file to an ftps server through the ftps protocol. The Adafruit FONA - 3G is connected to an arduino mega.
First I turn on the modem, then I activate the GPRS (this works fine for me). But then, I try to do the ftps and I have the following problem:
I run the following AT commands:
- AT+CFTPSSTART: Response 0K
- AT+CFTPSLOGIN="IP",21,"User","pass",2: Response OK +CFTPSLOGIN=0 (I have selected the option explicit FTPS server with AUTH TLS. I have configured my ftp server with this option).
- AT+CFTPSTYPE=A: Response OK
- AT+CFTPSMKD="meteo": Response OK (I can create a directory on ftps server).
- AT+CFTPSPUT="data.txt", 10: The problem is that the symbol ">" does not appear (as indicated in the manual of AT commands) and I cannot insert the data string to send. After 30 seconds, response AT+CFTPSPUT=10.
Why doesn't the symbol ">" appear to insert the text string to send to the ftps server?
Do I need to load the SSL certificates before sending the data via ftps server?, But why can I create directories on the ftp server but it fails to transfer data?
Could you help me find a solution?
FONA 3G(SIM5320E) - FTPS WITH ARDUINO
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- fgnievinski
- Posts: 59
- Joined: Wed Sep 09, 2015 10:42 am
Re: FONA 3G(SIM5320E) - FTPS WITH ARDUINO
it's been suggested replacing FTP for HTTP POST:
viewtopic.php?f=54&t=103908&p=733022&#p732252
viewtopic.php?f=54&t=103908&p=733022&#p732252
Please be positive and constructive with your questions and comments.