At+Cftpsputfile Put A File From Module To Ftp(S) Server - SimCom SIM7500 Series At Command Manual

Ftps, lte module
Hide thumbs Also See for SIM7500 Series:
Table of Contents

Advertisement

Execute Command
AT+CFTPSGETFILE=
"<filepath>" [,<dir>]
Defined Values
<filepath>
< dir >
<errcode>

2.13 AT+CFTPSPUTFILE Put a file from module to FTP(S) server

You can use this command to upload a file to FTP(S) server from module. By setting parameter <dir> you can
select the directory that contains the file to be uploaded. Make sure that you have login to the FTP(S) server
successfully before AT+CFTPSPUTFILE.
AT+CFTPSGETFILE Download a file from FTP(S) to module
Test Command
AT+CFTPSPUTFILE=?
Execute Command
SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual
Response
a) if download file successfully :
OK
+CFTPSGETFILE: 0
b) if failed:
OK
+CFTPSGETFILE: <errcode>
c) if parameter format or any other errors:
ERROR
The remote file path. When the file path doesn't contain "/", this
command transfers file from 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
The directory to save the downloaded file. Numeric type, range
is 1-4, default is 1(/cache)
1 – F:/ (/cache)
2 – D:/(sd card)
3 – E:/ (/data/media/)
4 – /mssl_cert/(this is for CA file downloading)
The result code of download file from FTP(s) server. 0 is
success, others are failure, please refer to chapter 4.
Response
+CFTPSPUTFILE:
[{non-ascii}]"FILEPATH"[,(1-3),(0-2147483647)]
OK
Response
Smart Machine Smart Decision
12 / 29

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM7500 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sim7800 seriesSim7600 series

Table of Contents