UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 16 / 44
Parameter
OK
Write Command
AT+QFTPPUT=<file
name>,“COM:”[,<startpos>[,<upload
len >,<beof>]]
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>
Write Command
AT+QFTPPUT=<file_name>,<local_na
me>[,<startpos>]
<local name> is not “COM:”
Response
OK
If successfully upload the data:
+QFTPPUT: 0,< transferlen>
Else fail to upload the data:
+QFTPPUT: <err>,<protocol_error>
or
+CME ERROR: <err>
<file_name>
String type, the file name in FTP server. The maximum size of the parameter is 50
bytes
<local_name>
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
)
<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>
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
<beof>
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
Quectel
Confidential