AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page185of233
<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.
FTP Get in command mode - #FTPGETPKT
#FTPGETPKT - FTP Get in command mode
AT#FTPGETPKT=
<filename>
[,<viewMode>]
Execution command issued during an FTP connection, opens a data connection and
starts getting a file from the FTP server while remaining in command mode.
The data port is opened and we remain in command mode and we see the result
code OK.
Retrieval from FTP server of “remotefile” is started, but data are only buffered in
the module.
It’s possible to read data afterwards issuing #FTPRECV command.
Parameter:
<filename> - file name, string type. (maximum length: 200 characters).
<viewMode> - permit to choose view mode (text format or Hexadecimal)
0 – text format (default)
1 – hexadecimal format
Note: The command causes an ERROR result code to be returned in case no FTP
connection has been opened yet.
Note: Command closure should always be handled by application. In order to avoid
download stall situations a timeout should be implemented by the application.
AT#FTPGETPKT?
Read command reports current download state for <filename> with <viewMode>
chosen, in the format:
#FTPGETPKT: <remotefile>,<viewMode>,<eof>
<eof>
0 – file currently being transferred
1 – complete file has been transferred to FTP client
AT#FTPGETPKT=?
Test com
and returns the O
result code.
FTP Type - #FTPTYPE
#FTPTYPE - FTP Type
AT#FTPTYPE=
[<type>]
Set command, issued during an FTP connection, sets the file transfer type.