Smart Machine Smart Decision
SIM7500_SIM7600 Series_AT Command Manual_V1.07 2017-12-25
Syntax
Test Command Responses
AT+CFTPSPUTFILE=?
+CFTPSPUTFILE: [{non-ascii}]"FILEPATH",(0)[,(0-2147483647)]
OK
Write Command Responses
AT+CFTPSPUTFILE=
“<filepath>”,<dir>[,<rest_siz
e>]
OK
+CFTPSPUTFILE: 0
+CFTPSPUTFILE: <err>
ERROR
+CFTPSPUTFILE: <err>
Defined values
<filepath>
The remote file path. When the file path doesn’t contain “/”
, this command transfers file to the
current remote FTPS directory. If the file path contains non-
ASCII characters, the file path
parameter should contain a prefix of {non-ascii}.
<dir>
The directory that contains the file to be uploaded, refer to AT+FSCD.
The rest size of the file.
<err>
The error code of FTPS operation.
Examples
AT+CFTPSPUTFILE=”/pub/mydir/test1.txt”,1
AT+CFTPSPUTFILE=” test2.txt”,1
OK
…
+CFTPSPUTFILE: 0
AT+CFTPSPUTFILE={non-ascii}” B2E2CAD42E747874”,1
OK
…
+CFTPSPUTFILE: 0
AT+CFTPSPUTFILE=?