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