EasyManua.ls Logo

Quectel WCDMA UG FTP Series

Quectel WCDMA UG FTP Series
45 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 20 / 44
Example
//Download a file and output to COM port.
AT+QFTPGET=“test.txt”, “COM:”,0
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 and save it to RAM.
AT+QFTPGET=“test.txt”, “RAM:test2.txt”,0
OK
+QFTPGET: 0,1000
AT+QFLST=“RAM:*”
+QFLST: “RAM:test2.txt”,1000
OK
2.7. AT+QFTPSIZE Get the File Size on FTP Server
Get the file size on FTP server. If “OK” is returned, “+QFTPSIZE: 0,<file_size>” or “+QFTPSIZE:
<err>,<protocol_error>” should be output in <timeout> set by AT+QFTPCFG. Otherwise, you should
close the FTP connection, deactivate and reactive the network.
Quectel
Confidential

Related product manuals