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 #38 background imageLoading...
Page #38 background image
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 37 / 44
+QFTPSIZE: 0,1500
//Upload a file from COM to FTP server twice, each time in 1024 bytes.
AT+QFTPPUT=“test.txt”, “COM:”,0,1024,0 //It is not the last 1024 bytes of “test.txt”.
CONNECT
<Input file data>
OK //Data length reaches1024.
+QFTPPUT: 0,1024
AT+QFTPPUT=“test.txt”, “COM:”,1024,1024,1 //It is the last 1024 bytes of “test.txt”.
CONNECT
<Input file data>
OK //Data length reaches 1024.
+QFTPPUT: 0,1024
//Upload a file from RAM to FTP server.
AT+QFUPL=“RAM:test_ram.txt”,1000,300,1 //Upload a file to RAM, the file will be saved as
“test_ram.txt” and the maximum of file size is
1000. 300 indicates timeout, 1 indicates ACK
mode. (Please refer to Quectel_WCDMA_
UGxx_FILE_AT_Commands_Manual).
CONNECT
<Input 1000 bytes data>
+QFUPL: 1000,707
OK
AT+QFLST=“RAM:*”
+QFLST: “RAM:test_ram.txt”,1000
OK
AT+QFTPPUT=“test_my1.txt”, “RAM:test_ram.txt”,0 //Upload “RAM:test_ram.txt” to FTP server and
saved as “test_my1.txt” on FTP server.
OK
+QFTPPUT: 0,1000
AT+QFTPLEN
+QFTPLEN: 0,1000
OK
AT+QFTPSIZE=test_my1.txt”
OK
+QFTPSIZE: 0,1000
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