HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 214 of
229
#FTPOPEN - FTP Open
AT#FTPOPEN=
[<server:port>,
<username>,
<password>,
<mode>]
Execution command opens an FTP connection toward the FTP server.
Parameters:
<server:port>
- string type, address and port of FTP server (factory default port
21).
<username>
- string type, authentication user identification string for FTP.
<password>
- string type, authentication password for FTP.
<mode>
0 - active mode (factory default)
1 - passive mode
Note: Before opening FTP connection the GPRS must been activated with
AT
#GPRS
=1
AT#FTPOPEN=?
Test command returns the
OK
result code.
3.5.5.3.3.
FTP Close - #FTPCLOSE
#FTPCLOSE - FTP Close
AT#FTPCLOSE
Execution command closes an FTP connection.
AT#FTPCLOSE=?
Test command returns the
OK
result code.
3.5.5.3.4.
FTP Put - #FTPPUT
#FTPPUT - FTP Put
AT#FTPPUT=
[<filename>]
Execution command, issued during an FTP connection, opens a data connection and
starts sending
<filename>
file to the FTP server.
If the data connection succeeds, a
CONNECT
indication is sent, otherwise a
NO
CARRIER
indication is sent.
Parameter:
<filename>
- string type, name of the file.
Note: use the escape sequence
+++
to close the data connection.
Note: The command causes an
ERROR
result code to be returned if no FTP
connection has been opened yet.
Note: If the filename is missing cause an ERROR result code to be returned
AT#FTPPUT=?
Test command returns the
OK
result code.
3.5.5.3.5.
FTP Get - #FTPGET
#FTPGET - FTP Get
AT#FTPGET=
Execution command, issued during an FTP connection, opens a data connection and