ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 426 of 545 2020-04-15
3.14.6. AT#FTPFSIZE - Get File Size from FTP Server
This command returns the size of a file located on a FTP server.
AT#FTPFSIZE=<filename>
Execution command, issued during an FTP connection, permits to get the size of a file located on a
FTP server. The response format is:
#FTPFSIZE: <size>
Parameter:
the name of the file that you want to know the size
dimension in bytes of the file located on the FTP server
AT#FTPTYPE=0 command must be issued before #FTPFSIZE command, to set file
transfer type to binary mode.
AT#FTPFSIZE=?
Test command returns OK result code.