Logout From Ftp Server; Ftps Configuration - Quectel WCDMA UG FTP Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

//Download a file from FTP server and save it to RAM, the start position is 450.
AT+QFTPGET="test_my1.txt", "RAM:test1.txt",450
OK
+QFTPGET: 0,550
AT+QFTPLEN
+QFTPLEN: 0,550
OK
AT+QFLST="RAM:*"
+QFLST: RAM:test.txt,1000
+QFLST: RAM:test1.txt,550
OK

3.7. Logout from FTP Server

AT+QFTPCLOSE
OK
+QFTPCLOSE: 0,0
AT+QIDEACT=1
OK

3.8. FTPS Configuration

//Step 1: Configure and activate the PDP context.
AT+QICSGP=1,1,"UNINET","","",1
OK
AT+QIACT=1
OK
AT+QIACT?
+QIACT: 1,1,1,"10.7.157.1"
OK
AT+QFTPCFG="contextid",1
OK
//Step 2: Configure user account and transfer settings.
WCDMA_UGxx_FTP_AT_Commands_Manual
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
//Download file and save to RAM as "test.txt".
//Logout from FTP server.
//Deactivate the PDP context which was activated
for FTP.
//Configure PDP context 1, APN is "UNINET" for
China Unicom.
//Activate PDP context 1.
//Activate successfully.
//Query the state of PDP context.
//Set the PDP context ID as 1. The PDP context ID
must be activated before.
Confidential / Released
39 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents