SIM5300E AT Command Manual V1.02
Write Command
AT+FTPLIST=<mode>[,<reqleng
th>]
Response
If mode is 1 and it is a successful FTP get session:
OK
+FTPLIST:1,1
If data transfer is finished:
+FTPLIST:1,0
If mode is 1 and it is a failed FTP get session:
OK
+FTPLIST:1,<error>
If mode is 2:
+FTPLIST:2,<cnflength>
012345678…
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode>
1 For opening FTP get file list session
2 For reading FTP file list
<reqlength> Requested number of data bytes (1-1460)to be read
<cnflength>
Confirmed number of data bytes to be read, which may be
less than <length>. 0 indicates that no data can be read.
<error> See "AT+FTPGET"
Reference
Note:
When "+FTPLIST:1,1" is shown, "AT+FTPLIST :2,<reqlength>" can be
used to read data. If the module still has unread data,
"+FTPLIST:1,1" will be shown again in a certain time.
If using “AT+FTPGETPATH” to set a directory path, it will returned
the files contents under this directory; if set a file path, it will return
the information of the file specified.
11.2.23 AT+FTPEXTGET Download File From the Remote Machine to
Flash