UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 14 / 44
2.3. AT+QFTPCWD Set the Current Directory on FTP Server
Set the current directory on FTP server. If OK is returned, “+QFTPCWD: <err>,<protocol_error>” should
be output in <timeout> set by AT+QFTPCFG. All the files and directory operation will be set in the current
directory.
Parameter
2.4. AT+QFTPPWD Get the Current Directory on FTP Server
Get the current directory on FTP server. If OK is returned, “+QFTPPWD: 0,<path_name>” or
“+QFTPPWD: <err>,<protocol_error>” should be output in <timeout> set by AT+QFTPCFG.
AT+QFTPCWD Set the Current Directory on FTP Server
Test Command
AT+QFTPCWD=?
Response
+QFTPCWD: <path_name>
OK
Write Command
AT+QFTPCWD=<path_name>
Response
OK
+QFTPCWD: <err>,<protocol_error>
or
+CME ERROR: <err>
<path_name>
String type, a directory path on FTP server. The maximum size of the parameter is
100 bytes. The root path of FTP server is “/”
<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
AT+QFTPPWD Get the Current Directory on FTP Server
Test Command
AT+QFTPPWD=?
Response
OK
Execute Command
AT+QFTPPWD
Response
OK
If successfully get the current directory:
Quectel
Confidential