UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 25 / 44
Example
//Get contents of current directory on FTP server and output to COM port.
AT+QFTPLIST =“.”
CONNECT
<Output content data >
OK
+QFTPLIST: 0,1000
//Get content of specified directory on FTP server and save to RAM.
AT+QFTPLIST
=“TESTDIR“, “RAM:test2.txt”
OK
+QFTPLIST: 0,1000
AT+QFLST
=“RAM:*”
+QFLST: “RAM:test2.txt“,1000
OK
2.12. AT+QFTPNLST List File Names of Directory on FTP Server
List file names of directory on FTP server. If the <local_
name> is “COM:”, “CONNECT” should be output
in <timeout> set by AT+QFTPCFG. Else “OK” will be returned first. “+QFTPNLST: 0,<transfer_size>” will
be output after file names being transferred completely.
If the module has entered data mode, the <timeout> set by AT+QFTPCFG indicates the maximum interval
time between two packets of received/transmitted data. If the <local_
name> is not “COM:”, the <timeout>
set by AT+QFTPCFG indicates the maximum interval time between two packets of received/transmitted
data.
to the Chapter 4)
<protocol_error>
Integer type, for reference only, indicates the original error code from FTP server
which is defined in FTP protocol (Please refer to Chapter 5). If it is 0, it is
meaningless
AT+QFTPLIST List File Names of Directory on FTP Server
Test Command
AT+QFTPNLST=?
Response
+QFTPNLST: <dirname>,<local_name>
OK
Quectel
Confidential