Technical information
FTP (File Transfer Protocol)
3-434 AT Commands Reference Manual August 5, 2008
Example
The first example illustrates FTP connection open success case.
AT+FTPOPEN="someftpsite.com","anonymous","qwerty@somemail.com",,,,
OK
+FTPOPEN: 1
The second example illustrates FTP connection open error case, because another FTP connection is
already opens. The AT+CMEE=2 command enables verbose error report.
AT+CMEE=2
OK
AT+FTPOPEN="someftpsite.com","anonymous","qwerty@somemail.com",,,,
OK
+FTPOPEN: 1
AT+FTPOPEN="anotherftpsite.com","anonymous","qwerty@somemail.com",,,,
+CME ERROR: FTP session is active
+FTPCLOSE, Close Established FTP Connection Between G24 (FTP
client) and Remote FTP Server
This command causes G24 to close FTP connection, when no data transfer occurred at that same
time. When data transfer is in progress, use DTR line for closing FTP connection.
Example
The first example illustrates FTP connection close success case.
AT+FTPCLOSE
OK
+FTPCLOSE: 1
The second example illustrates FTP connection close error case, because no FTP connection was open. The
AT+CMEE=2 command enables verbose error report.
Command
Type
Syntax Response/Action Remarks
Set
+FTPCLOSE OK
+FTPCLOSE: <connection_status>
Or:
ERROR: <error_code>
Command execution result
return to the user as an
unsolicited response:
1 - connection succeeded
0 - connection failed
Read
+FTPCLOSE? ERROR
Not supported
Test
+FTPCLOSE=? ERROR
Not supported