Introduction; The Process Of Ftp Operation - Quectel WCDMA UG FTP Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

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.
Configure the PDP context ID for FTP by AT+QFTPCFG="contextid",<contextID>. You should
3)
activate the PDP context first.
Step 2: Configure FTP service settings.
Configure account information by AT+QFTPCFG="account",<username>,<password>.
1)
Configure file type by AT+QFTPCFG="filetype",<file_type>. The file type means the transferred
2)
data between FTP server and client is binary data or ASCII data.
Configure the transfer mode by AT+QFTPCFG="transmode",<transmode>. The transfer mode
3)
means either the FTP server or client listens to the data connection.
Configure the response timeout value by AT+QFTPCFG="rsptimeout",<timeout>.
4)
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
Quectel_WCDMA_UGxx_FILE_AT_Commands_Manual). After uploading the file to FTP server
WCDMA_UGxx_FTP_AT_Commands_Manual
file
to
RAM
by
WCDMA UGxx FTP AT Commands Manual
AT+QFUPL
(For
more
Confidential / Released
UMTS/HSPA Module Series
details,
please
refer
to
6 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents