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