EasyManua.ls Logo

Quectel WCDMA UG FTP Series User Manual

Quectel WCDMA UG FTP Series
45 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #13 background imageLoading...
Page #13 background image
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 12 / 44
Parameter
]
<username> String type, the user name for the authentication. The maximum size of the
parameter is 50 bytes
<password> String type, the password for the authentication. The maximum size of the
parameter is 50 bytes
<contextID> Integer type, the PDP context ID, the range is 1-20. It should be activated by
AT+QIACT before QFTPOPEN. For details, please refer to Quectel_WCDMA_
UGxx_TCPIP_AT_Commands_Manual
<file_type> Integer type, indicates the type of transferred data is ASCII or binary data
0 Binary
1 ASCII
<transmode> Integer type, indicates whether the FTP server or client listens to data connection
0 Active mode, module will listen to data connection
1 Passive mode, FTP server will listen to data connection
<timeout> Integer type, the range is 20-180, the unit is second, and the default value is 90s.
Generally, it is the timeout value for most +QFTPXXX: xx,xx after the result code
OK is returned, except the commands QFTPPUT/QFTPGET/QFTPLST/
QFTPNLST. The rules for these four commands are shown as below:
1) When the command has been sent, but “CONNECT” has not been output
yet, this parameter indicates the maximum interval time for “CONNECT”
outputting after the command has been sent
2) When the module has entered into data mode, this parameter indicates the
maximum interval time between two packets of received/transmitted data
3) When the <local name> is not “COM:”, it indicates the maximum interval
time between two packets of received/transmitted data
<ssl_type> Integer type, indicates the module plays as FTP client or FTPS client
0 FTP client
1 FTPS client
<sslctxID> Integer type, indicates the SSL context ID. The range is 0-5. It should be
configured by AT+QSSLCFG, for more details, please refer to Quectel_WCDMA_
UGxx _SSL_AT_Commands_Manual.
<err> Integer type, indicates the error code of the operation. It is the type of error
(Please refer to the Chapter 4)
Quectel
Confidential
Question and Answer IconNeed help?

Do you have a question about the Quectel WCDMA UG FTP Series and is the answer not in the manual?

Quectel WCDMA UG FTP Series Specifications

General IconGeneral
BrandQuectel
ModelWCDMA UG FTP Series
CategoryControl Unit
LanguageEnglish

Summary

Introduction to WCDMA UGxx FTP AT Commands

The Process of FTP Operation

Explains the general process of operating files and directories on an FTP server using AT commands.

Description of FTPS

Details FTPS client functionality, including SSL/TLS encryption and configuration.

Description of Data Mode

Explains the difference between AT command mode and data mode on the COM port.

Error Handling

Covers common FTP AT command execution failures and error responses.

Description of AT Commands for FTP

AT+QFTPCFG FTP Configurations

Configures FTP server, account, file type, transfer mode, and context ID via AT commands.

AT+QFTPOPEN Login to FTP Server

Logs into an FTP server using AT+QFTPOPEN command with hostname and port.

AT+QFTPCWD Set the Current Directory on FTP Server

Sets the current directory on the FTP server using the AT+QFTPCWD command.

AT+QFTPPWD Get the Current Directory on FTP Server

Retrieves the current directory on the FTP server using the AT+QFTPPWD command.

AT+QFTPPUT Upload a File to FTP Server

Uploads a file to the FTP server from COM port or RAM using AT+QFTPPUT command.

AT+QFTPGET Download a File from FTP Server

Downloads a file from the FTP server to COM port or RAM using AT+QFTPGET.

AT+QFTPSIZE Get the File Size on FTP Server

Retrieves the size of a file on the FTP server using the AT+QFTPSIZE command.

AT+QFTPDEL Delete the File on FTP Server

Deletes a file from the FTP server using the AT+QFTPDEL command.

AT+QFTPMKDIR Make a Folder on FTP Server

Creates a new folder on the FTP server using the AT+QFTPMKDIR command.

AT+QFTPRMDIR Delete an Empty Folder on FTP Server

Deletes an empty folder from the FTP server using the AT+QFTPRMDIR command.

AT+QFTPLIST List Contents of Directory on FTP Server

Lists the contents of a directory on the FTP server using AT+QFTPLIST.

AT+QFTPNLST List File Names of Directory on FTP Server

Lists file names within a directory on the FTP server using AT+QFTPNLST.

AT+QFTPRENAME Rename a File or Folder on FTP Server

Renames a file or folder on the FTP server using AT+QFTPRENAME command.

AT+QFTPLEN Get the Transferred Data Length

Retrieves the length of transferred data for FTP operations using AT+QFTPLEN.

AT+QFTPSTAT Get the Status of FTP Service

Checks the current status of FTP services using the AT+QFTPSTAT command.

AT+QFTPCLOSE Logout from FTP Server

Logs out from the FTP server and closes the connection using AT+QFTPCLOSE.

AT+QFTPMLSD List Standardized File and Directory Information

Lists standardized file/directory info from FTP server using AT+QFTPMLSD.

AT+QFTPMDTM Get the File Modification Time on FTP Server

Gets the modification time of a file on the FTP server using AT+QFTPMDTM.

Examples of FTP Operations

Login to FTP Server Example

Demonstrates the steps to configure PDP context and login to an FTP server.

Folder Operation Examples

Provides examples for creating, renaming, and deleting folders on an FTP server.

File Operation Examples

Shows examples for setting directory, getting file size, and renaming files.

List File Information or File Names Examples

Demonstrates listing file information and file names from directories to COM or RAM.

Upload a File to FTP Server Example

Provides examples for uploading files from COM or RAM to the FTP server.

Download a File from FTP Server Example

Shows examples of downloading files from FTP server to COM port or RAM.

Logout from FTP Server Example

Demonstrates how to logout from the FTP server and deactivate the PDP context.

FTPS Configuration Example

Configures FTPS client, including PDP context, account, and SSL settings.

Summary of Error Codes

Summary of FTP Protocol Error Codes

Related product manuals