UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 13 / 44
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.
Parameter
Example
AT+QFTPOPEN=
“quectel.3322.org”,21
//Login to FTP server
OK
+QFTPOPEN: 0,0
AT+QFTPOPEN
Login to FTP Server
Test Command
AT+QFTPOPEN=?
Response
+QFTPOPEN: <hostname>,<port>
OK
Write Command
AT+QFTPOPEN=<hostname>[,<port>
]
Response
OK
+QFTPOPEN: <err>,<protocol_error>
or
+CME ERROR: <err>
<hostname>
String type, the IP address or domain name of the FTP server. The maximum size
of the parameter is 50 bytes
<port>
Integer type, the port of the FTP server. The default value is 21
<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
Quectel
Confidential