ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 738 of 1039 2021-09-23
3.16.7. 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.