Technical information

FTP (File Transfer Protocol)
3-432 AT Commands Reference Manual August 5, 2008
FTP (File Transfer Protocol)
Session Commands
+FTPOPEN, Open FTP Connection Between G24 (FTP client) and
Remote FTP Server
This command causes G24 to open a FTP connection with a remote FTP server, based on given
parameters.
Notes:
Only one FTP connection can be in progress at the same time.
FTP connection is based on two TCP sockets: one of them configured for Online Data
Mode.
Online Data Mode connection is prohibited when FTP connection is in progress and
vice versa.
Command
Type
Syntax Response/Action Remarks
Set
+FTPOPEN=
<"destination_ip/url
">,<"username">,
<"password">[,<"ac
count">,<source_con
trol_port>,<destinati
on_control_port>,
<source_data_port>]
OK
+FTPOPEN: <connection_status>
Or:
ERROR: <error_code>
Command execution result
(connection status) return to
the user as an unsolicited
response:
1 - connection succeeded
0 - connection failed
Read
+FTPOPEN? +FTPOPEN: <connection_status>
OK
Returns FTP connection
status:
1 - connection succeeded
0 - connection failed
Test
+FTPOPEN=? +FTPOPEN:
(<destination_ip/url>),
(<username>),(<password>)
[,(<account>),
(range of supported port's),
(range of supported port's),
(range of supported port's)]
OK
Returns command format.