UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 27 / 44
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+Q
FLST=“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.
Parameter
AT+QFTPRENAME Rename a File or Folder on FTP Server
Test Command
AT+QFTPRENAME=?
Response
+QFTPRENAME: <old_name>,<new_name>
OK
Write Command
AT+QFTPRENAME=<old_name>,<ne
w_name>
Response
OK
+QFTPRENAME: <err>,<protocol_error>
or
+CME ERROR: <err>
<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
Quectel
Confidential