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 206 of 273
#FTPREST – Set restart position for FTP GET
It permits to restart a previously interrupted FTP download from the selected
position in byte.
Parameters:
<
restartposition
> – position in byte of restarting for successive
#FTPGET
(or
#FTPGETPKT
)
Note: It’s necessary to issue
#FTPTYPE=0
before successive
#FTPGET
(or
#FTPGETPKT
) to set binary file transfer type.
Note: Setting <
restartposition
> has effect on successive FTP download.
After successive successfully initiated
#FTPGET
(or
#FTPGETPKT
) command,
<
restartposition
> is automatically reset.
Note: value set for <
restartposition
> has effect on next data transfer (data port
opened by
#FTPGET
or
#FTPGETPKT
).
Then <
restartposition
> value is automatically assigned to 0 for next download.
AT#FTPREST?
Read command returns the current <restartposition>
#FTPREST:<restartposition>
AT#FTPREST=?
Test command returns the OK result code.
#FTPRECV – Receive Data In Command Mode
AT#FTPRECV=
<blocksize>
Execution command permits the user to transfer at most <
blocksize
> bytes of
remote file, provided that retrieving from the FTP server has been started with a
previous
#FTPGETPKT
command, onto the serial port.
This number is limited to the current number of bytes of the remote file which have
been transferred from the FTP server.
Parameter:
<
blocksize
> – max number of bytes to read
1..3000
Note: it’s necessary to have previously opened FTP data port and started download
and buffering of remote file through
#FTPGETPKT
command.
Note: issuing
#FTPRECV
when there’s no FTP data port opened raises an error.
Note: data port will stay opened if socket is temporary waiting to receive data
(
FTPRECV
returns 0 and
FTPGETPTK
gives a EOF 0 indication).
AT#FTPRECV?
Read command reports the number of bytes currently received from FTP server, in
the format:
Summary of Contents for LE910-SKG
Page 1: ......