At+Qftpcwd Set The Current Directory On Ftp Server; At+Qftppwd Get The Current Directory On Ftp Server - Quectel WCDMA UG FTP Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

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.
AT+QFTPCWD Set the Current Directory on FTP Server
Test Command
AT+QFTPCWD=?
Write Command
AT+QFTPCWD=<path_name>
Parameter
<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

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+QFTPPWD Get the Current Directory on FTP Server
Test Command
AT+QFTPPWD=?
Execute Command
AT+QFTPPWD
WCDMA_UGxx_FTP_AT_Commands_Manual
WCDMA UGxx FTP AT Commands Manual
Response
+QFTPCWD: <path_name>
OK
Response
OK
+QFTPCWD: <err>,<protocol_error>
or
+CME ERROR: <err>
Response
OK
Response
OK
If successfully get the current directory:
Confidential / Released
UMTS/HSPA Module Series
14 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents