Quectel WCDMA UG FTP Series At Command Manual page 38

Umts/hspa module
Table of Contents

Advertisement

+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
CONNECT
<Input file data>
OK
+QFTPPUT: 0,1024
AT+QFTPPUT="test.txt", "COM:",1024,1024,1
CONNECT
<Input file data>
OK
+QFTPPUT: 0,1024
//Upload a file from RAM to FTP server.
AT+QFUPL="RAM:test_ram.txt",1000,300,1
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
OK
+QFTPPUT: 0,1000
AT+QFTPLEN
+QFTPLEN: 0,1000
OK
"
test_my1.txt"
AT+QFTPSIZE=
OK
+QFTPSIZE: 0,1000
WCDMA_UGxx_FTP_AT_Commands_Manual
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
//It is not the last 1024 bytes of "test.txt".
//Data length reaches1024.
//It is the last 1024 bytes of "test.txt".
//Data length reaches 1024.
//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).
//Upload "RAM:test_ram.txt" to FTP server and
saved as "test_my1.txt" on FTP server.
Confidential / Released
37 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents