ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 755 of 1039 2021-09-23
3.16.17. AT#FTPREST - Set Restart Position for FTP GET
Set command sets the restart position for successive #FTPGET (or #FTPGETPKT)
command. It permits to restart a previously interrupted FTP download from the selected
position in byte.
AT#FTPREST=[<restartPosition>]
Parameter:
position in byte of restarting for
successive #FTPGET (or
#FTPGETPKT)
It is necessary to issue #FTPTYPE=0 before successive #FTPGET
(or #FTPGETPKT command) to set binary file transfer type.
Setting <restartPosition> takes effect on successive FTP download.
After successive successfully initiated #FTPGET (or #FTPGETPKT)
command <restartPosition> is automatically reset.
Value set for <restartPosition> takes 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>