Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 382 of 509
Mod. 0808 2011-07 Rev.2
#FTPREST – Set restart position for FTP GET
Read command returns the current <restartposition>
#FTPREST: <restartposition>
Test command returns the OK result code.
Receive Data In Command Mode - #FTPRECV
#FTPRECV – Receive Data In Command Mode
<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.
Parameters:
< 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 FTPGETPKT gives a EOF 0 indication).
Read command reports the number of bytes currently received from FTP server, in
the format:
#FTPRECV: <available>
Test command returns the range of supported values for
<blocksize> parameter.