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 215 of
229
#FTPGET - FTP Get
[<filename>]
starts getting a file from the FTP server.
If the data connection succeeds a
CONNECT
indication is sent, otherwise a
NO
CARRIER
indication is sent.
The file is received on the serial port.
Parameter:
<filename>
- file name, string type.
Note: The command causes an
ERROR
result code to be returned if no FTP
connection has been opened yet.
AT#FTPGET=?
Test command returns the OK result code.
3.5.5.3.6.
FTP Type - #FTPTYPE
#FTPTYPE - FTP Type
AT#FTPTYPE=
[<type>]
Set command, issued during an FTP connection, sets the file transfer type.
Parameter:
<type>
- file transfer type:
0 - binary
1 - ascii
Note: The command causes an
ERROR
result code to be returned if no FTP
connection has been opened yet.
Note: If the type parameter is missing cause an ERROR result code to be returned.
#FTPTYPE?
Read command returns the current file transfer type, in the format:
#FTPTYPE: <type>
#FTPTYPE=?
Test command returns the range of available values for parameter
<type>
:
#FTPTYPE: (0,1)
3.5.5.3.7.
FTP Read Message - #FTPMSG
#FTPMSG - FTP Read Message
AT#FTPMSG
Execution command returns the last response from the server.
AT#FTPMSG=?
Test command returns the
OK
result code.
3.5.5.3.8.
FTP Delete - #FTPDELE
#FTPDELE - FTP Delete
AT#FTPDELE=
[<filename>]
Execution command, issued during an FTP connection, deletes a file from the
remote working directory.
Parameter:
<filename>
- string type, it’s the name of the file to delete.