LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 203 of 273
#FTPGETPKT - FTP Get in command mode
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 command returns the
OK
result code.
#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.
#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)
#FTPMSG - FTP Read Message
AT#FTPMSG
Execution command returns the last response from the server.
AT#FTPMSG=?
Test command returns the
OK
result code.
Summary of Contents for LE910-SKG
Page 1: ......