UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 38 / 44
AT+QFDEL=“RAM:test_ram.txt” //Delete local RAM file.
OK
3.6. Download a File from FTP Server
AT+QFTPCWD=“/”
OK
+QFTPCWD: 0,0
//Download a file from FTP server and output to COM.
AT+QFTPGET=“test_my.txt”, “COM:”
CONNECT
<Output file data>
OK
+QFTPGET: 0,1000
//Download a file and output to COM port twice, each time in 500 bytes.
AT+QFTPGET=“test.txt”,“COM:”,0,500 //The size of test.txt is 1000 bytes, download the
first 500 bytes.
CONNECT
<Output file data>
OK
+QFTPGET: 0,500
AT+QFTPGET=“test.txt”, “COM:”,500,500 //Download 500-1000 bytes.
CONNECT
<Output file data>
OK
+QFTPGET: 0,500
//Download a file from FTP server and save to RAM.
AT+QFTPGET=“test_my1.txt”, “RAM:test.txt” //Download file and save it to RAM as “test.txt”.
OK
+QFTPGET: 0,1000
AT+QFLST=“RAM:*”
+QFLST: RAM:test.txt,1000
OK