UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 6 / 44
1
Introduction
This document is applicable to Quectel UGxx modules.
1.1. The Process of FTP Operation
As the module provides FTP protocol, you can operate file and directory on FTP server by these FTP AT
commands. The general process is as follows:
Step 1: Configure and activate the PDP context.
1) Configure the PDP context parameters <apn>, <username>, <password> and other parameters
by AT+QICSGP (Please refer to
Quectel_WCDMA_UGxx_TCPIP_AT_Commands_Manual
). If
QoS settings need to be updated, configure them by the commands AT+CGQMIN,
AT+CGEQMIN, AT+CGQREQ and AT+CGEQREQ (For more details, please refer to
Quectel_WCDMA_UGxx_AT_Commands_Manual
).
2) Activate the PDP context by AT+QIACT.
3)
Configure the PDP context ID for FTP by AT+QFTPCFG=“contextid”,<contextID>. You should
activate the PDP context first.
Step 2: Configure FTP service settings.
1)
Configure account information by AT+QFTPCFG=“account”,<username>,<password>.
2)
Configure file type by AT+QFTPCFG=“filetype”,<file_type>. The file type means the transferred
data between FTP server and client is binary data or ASCII data.
3)
Configure the transfer mode by AT+QFTPCFG=“transmode”,<transmode>. The transfer mode
means either the FTP server or client listens to the data connection.
4)
Configure the response timeout value by AT+QFTPCFG=“rsptimeout”,<timeout>.
Step 3: Login to FTP server.
Login to FTP server by AT+QFTPOPEN=<hostname>,<port>. And the URC “+QFTPOPEN: 0,0”
indicates that login is successful.
Step 4:
File operation.
1) Set the current directory by AT+QFTPCWD.
2) Upload a file to FTP server.
a) You can upload a local file to FTP server by AT+QFTPPUT. The file can be RAM files .You can
upload
a
file
to
RAM
by
AT+QFUPL
(For
more
details,
please
refer
to
Quectel_WCDMA_UGxx_FILE_AT_Commands_Manual
). After uploading the file to FTP server
Quectel
Confidential