Quectel WCDMA UG FTP Series At Command Manual page 17

Umts/hspa module
Table of Contents

Advertisement

Write Command
AT+QFTPPUT=<file
name>,"COM:"[,<startpos>[,<upload
len >,<beof>]]
Write Command
AT+QFTPPUT=<file_name>,<local_na
me>[,<startpos>]
<local name> is not "COM:"
Parameter
<file_name>
<local_name>
<startpos>
Integer type, the start position of file to be put. The default value is 0. If the
<uploadlen> and <beof> is specified, the <startpos> should be consequent for
uploading data to the same file
<uploadlen>
<beof>
WCDMA_UGxx_FTP_AT_Commands_Manual
OK
Response
CONNECT
<Input file data>
OK
If successfully upload the data:
+QFTPPUT: 0,<transferlen>
Else fail to upload the data:
+QFTPPUT: <err>,<protocol_error>
or
+CME ERROR: <err>
Response
OK
If successfully upload the data:
+QFTPPUT: 0,< transferlen>
Else fail to upload the data:
+QFTPPUT: <err>,<protocol_error>
or
+CME ERROR: <err>
String type, the file name in FTP server. The maximum size of the parameter is 50
bytes
String type, the local file name. The maximum size of the parameter is 60 bytes. If
it is "COM:", the file data will be input from COM port
If it starts with "RAM:", the file is from RAM. After being uploaded successfully,
you should delete the file by AT+QFDEL (For details, please refer to Quectel_
WCDMA_UGxx_FILE_AT_Commands_Manual)
Integer type, length of data to be uploaded. It is valid only if <local_name> is
"COM:". When data from COM reached <uploadlen>, module will exit from data
mode
Integer type, indicates whether it is the last packet of data to be uploaded
0
Not the last packet of data, when data reached <uploadlen>, module will exit
from data mode, "+QFTPPUT: 0,<transferlen>" will be output, but not close
data connection, so you can continue to upload data to the same file on FTP
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
Confidential / Released
16 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents