At+Qftprmdir Delete An Empty Folder On Ftp Server; At+Qftplist List Contents Of Directory On Ftp Server - Quectel WCDMA UG FTP Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

2.10. AT+QFTPRMDIR Delete an Empty Folder on FTP Server

Delete an empty folder on FTP server. If "OK" is returned, "+QFTPRMDIR: <err>,<protocol_error>" should
be output in <timeout> set by AT+QFTPCFG. Otherwise, you should close the FTP connection,
deactivate and reactive the network. If the folder is not empty on FTP server, error will report.
AT+QFTPRMDIR Delete an Empty Folder on FTP Server
Test Command
AT+QFTPRMDIR=?
Write Command
AT+QFTPRMDIR=<folder_name>
Parameter
<folder_name>
<err>
<protocol_error>

2.11. AT+QFTPLIST List Contents of Directory on FTP Server

List contents 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. "+QFTPLIST: 0,<transfer_size>" will be
output after contents 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>
WCDMA_UGxx_FTP_AT_Commands_Manual
meaningless
Response
+QFTPRMDIR: <folder_name>
OK
Response
OK
+QFTPRMDIR: <err>,<protocol_error>
or
+CME ERROR: <err>
String type, the folder name on FTP server. The maximum size of the parameter is
100 bytes
Integer type, indicates the operation error code. It is the type of error (Please refer
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
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
Confidential / Released
23 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents