UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 18 / 44
OK
AT+QFLST=“RAM:*”
+QFLST: “RAM:test1.txt”,1000
OK
AT+QFTPPUT=“test.txt”, “RAM:test1.txt”,0
//Upload “RAM:test1.txt” to FTP server and save it as
“test.txt” on FTP server.
OK
+QFTPPUT: 0,1000
AT+QFTPDEL=“test.txt”
OK
+QFTPDEL: 0,0
2.6. AT+QFTPGET Download a File from FTP Server
Download
a
file
from
FTP
server.
You
can
output
the
file
to
COM
port
by
AT+QFTPGET=“filename”,“COM:”. The module will enter data mode on receiving data from server. After
data is transferred completely, the module will exit from data mode automatically and output “QFTPGET:
0,<transferlen>”. You can save the file to RAM by AT+QFTPGET=“filename”,“RAM:localname”. After file
being transferred comp
letely, the module will output “+QFTPGET: 0,<transferlen>”.
If the <local_
name> is “COM:”, “CONNECT” should be output in <timeout> set by AT+QFTPCFG. If the
<local_
name> is not “COM:”, “OK” will be output first, “+QFTPGET: 0,<transferlen>” will be output after
data being transferred completely.
If the module has entered data mode, the <timeout> set by AT+QFTPCFG indicates the maximum interval
time between two packets of received/transmitted data. If the <local name> is not “COM:”, the <timeout>
set by AT+QFTPCFG indicates the maximum interval time between two packets of received/transmitted
data.
AT+QFTPGET Get a File from FTP Server
Test Command
AT+QFTPGET=?
Response
+QFTPGET:
<file_name>,<local_name>,<startpos>,<downloadlen>
OK
Write Command
AT+QFTPGET=<file_name>,
“COM:”[,
<startpos >[,<downloadlen>]]
Response
CONNECT
<Output file data>
Quectel
Confidential