EasyManua.ls Logo

SimCom SIM7800 Series - AT+CFTPSPUTFILE Put a File from Module to FTP(S) Server

SimCom SIM7800 Series
29 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual 12 / 29
Execute Command
AT+CFTPSGETFILE=
“<filepath>” [,<dir>]
Response
a) if download file successfully :
OK
+CFTPSGETFILE: 0
b) if failed:
OK
+CFTPSGETFILE: <errcode>
c) if parameter format or any other errors:
ERROR
Defined Values
<filepath>
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
< dir >
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)
<errcode>
The result code of download file from FTP(s) server.
0 is
success, others are failure, please refer to chapter 4.
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=?
Response
+CFTPSPUTFILE:
[{non-ascii}]"FILEPATH"[,(1-3),(0-2147483647)]
OK
Execute Command
Response

Other manuals for SimCom SIM7800 Series

Related product manuals