LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1375 of 1904 2022-03-04
3.18.13. AT#FTPRECV - Receive Data in Command Mode
The command permits the user to read a given amount of data already transferred via
FTP from a remote file.
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:
maximum number of bytes to read
maximum number of bytes to read
it’s necessary to have previously opened FTP data port and started
download and buffering of remote file through #FTPGETPKT
command.
issuing #FTPRECV when there’s no FTP data port opened raises an
error.
data port will stay opened if socket is temporary waiting to receive
data (#FTPRECV returns 0 and #FTPGETPTK gives an EOF 0
indication).