At+Qftprename Rename A File Or Folder On Ftp Server - Quectel WCDMA UG FTP Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

CONNECT
<Output content data >
OK
+QFTPNLST: 0,1000
//Get file name of specified directory on FTP server and save to RAM.
AT+QFTPNLST="TESTDIR","RAM:test2.txt"
OK
+QFTPNLST: 0,1000
AT+QFLST="RAM:*"
+QFLST: "RAM:test2.txt",1000
OK

2.13. AT+QFTPRENAME Rename a File or Folder on FTP Server

Rename a file or folder on FTP server. If "OK" is returned, "+QFTPRENAME: <err>,<protocol_error>"
should be output in <timeout> set by AT+QFTPCFG. Otherwise, you should close the FTP connection,
deactivate and reactive the network.
AT+QFTPRENAME Rename a File or Folder on FTP Server
Test Command
AT+QFTPRENAME=?
Write Command
AT+QFTPRENAME=<old_name>,<ne
w_name>
Parameter
<old_name>
String type, the old file name or folder name on FTP server. The maximum size of the
parameter is 100 bytes
<new_name>
String type, the new file name or 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
WCDMA_UGxx_FTP_AT_Commands_Manual
WCDMA UGxx FTP AT Commands Manual
Response
+QFTPRENAME: <old_name>,<new_name>
OK
Response
OK
+QFTPRENAME: <err>,<protocol_error>
or
+CME ERROR: <err>
Confidential / Released
UMTS/HSPA Module Series
27 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents