ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 437 of 545 2020-04-15
3.14.15. 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>
AT#FTPREST=?
Test command returns the OK result code.