UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 23 / 44
2.10. AT+QFTPRMDIR Delete an Empty Folder on FTP Server
Del
ete 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.
Parameter
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>
meaningless
AT+QFTPRMDIR Delete an Empty Folder on FTP Server
Test Command
AT+QFTPRMDIR=?
Response
+QFTPRMDIR: <folder_name>
OK
Write Command
AT+QFTPRMDIR=<folder_name>
Response
OK
+QFTPRMDIR: <err>,<protocol_error>
or
+CME ERROR: <err>
<folder_name>
String type, the folder name on FTP server. The maximum size of the parameter is
100 bytes
<err>
Integer type, indicates the operation error code. It is the type of error (Please refer
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
Quectel
Confidential