2.2. AT+QFTPOPEN Login to FTP Server
This command is used to login to FTP server. You should activate the PDP context by AT+QIACT first.
"+QFTPOPEN: <err>,<protocol_error>" indicates the result of QFTPOPEN and it should be output in
<timeout> set by AT+QFTPCFG.
AT+QFTPOPEN Login to FTP Server
Test Command
AT+QFTPOPEN=?
Write Command
AT+QFTPOPEN=<hostname>[,<port>
]
Parameter
<hostname>
<port>
<err>
<protocol_error>
Example
"quectel.3322.org",21
AT+QFTPOPEN=
OK
+QFTPOPEN: 0,0
WCDMA_UGxx_FTP_AT_Commands_Manual
Response
+QFTPOPEN: <hostname>,<port>
OK
Response
OK
+QFTPOPEN: <err>,<protocol_error>
or
+CME ERROR: <err>
String type, the IP address or domain name of the FTP server. The maximum size
of the parameter is 50 bytes
Integer type, the port of the FTP server. The default value is 21
Integer type, indicates the operation error code. It is the type of error (Please refer
to the Chapter 4)
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
WCDMA UGxx FTP AT Commands Manual
//Login to FTP server
Confidential / Released
UMTS/HSPA Module Series
13 / 44
Need help?
Do you have a question about the WCDMA UG FTP Series and is the answer not in the manual?
Questions and answers