<errcode>
2.15 AT+CFTPSPUT Put a file to FTP(S) server through serial port
You can put a file to FTP(S) server through serial port. Make sure that you have login to FTP(S) server
successfully.
AT+CFTPSPUT Put a file to FTP(S) server through serial port
Test Command
AT+CFTPSPUT=?
Execute Command
AT+CFTPSPUT=<filepath>
[,<len>,<rest_size>]
Defined Values
<filepath>
<len>
SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual
1 – Use cache, module will report "+CFTPS: RECV EVENT"
when
list
successfully
AT+CFTPSCACHERD command)
The result code of download file from FTP(s) server. 0 is
success, others are failure, please refer to chapter 4.
Response
OK
Response
a)if upload file through serial port successfully:
OK
+CFTPSPUT: 0
b)if failed before input data:
+CFTPSPUT:<errcode>
ERROR
c)if failed after input data:
OK
+CFTPSPUT:<errcode>
d)if parameter format or any other errors:
ERROR
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}.String type,
maximum length is 256.
Numeric type, The length of the data to send, the maximum
length
is
2048.if
parameter
<Ctrl+Z>character present in the data flow of serial port when
Smart Machine Smart Decision
(Data
will
be
output
<len>
is
omitted,
using
Each
15 / 29
Need help?
Do you have a question about the SIM7500 Series and is the answer not in the manual?
Questions and answers