At+Qftpnlst List File Names Of Directory On Ftp Server - Quectel WCDMA UG FTP Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

<protocol_error>
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.
AT+QFTPLIST List File Names of Directory on FTP Server
Test Command
AT+QFTPNLST=?
WCDMA_UGxx_FTP_AT_Commands_Manual
to the Chapter 4)
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
Response
+QFTPNLST: <dirname>,<local_name>
OK
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
Confidential / Released
25 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents