At+Cftpslist List The Items In The Directory On Ftp(S) Server; At+Cftpsgetfile Get A File From Ftp(S) Server To Module - SimCom SIM7500 Series At Command Manual

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

Advertisement

<errcode>

2.11 AT+CFTPSLIST List the items in the directory on FTP(S) server

This command is used to list the items in the specified directory on FTP(S) server. Module will output the items to
serial port when list items successfully. Make sure that you have login to FTP(S) server successfully.
AT+CFTPSLIST List the items in the directory on FTP(S) server
Execute Command
AT+CFTPSLIST="<dir>"
Defined Values
<dir>
<errcode>

2.12 AT+CFTPSGETFILE Get a file from FTP(S) server to module

You can download a file from FTP(S) server to module, by setting parameter <dir>, you can select the directory
where to save the downloaded file. Default the downloaded file will be saved to directory "/data/media/".Make
sure that you have login to FTP(S) server successfully before AT+CFTPSGETFILE.
Note: By setting <dir> to 4, you can download CA files to directory "/mssl_cert/", which is used for SSL
verification, Details please refer to SIM7500_SIM7600_SIM7800Series_SSL_AT_Commands_Manual.
AT+CFTPSGETFILE Download a file from FTP(S) to module
Test Command
AT+CFTPSGETFILE=?
SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual
A – ASCII.
I– Binary
The result of set type, 0 is success, others are failure, please
refer to chapter 4.
Response
a)if list items successful:
OK
+CFTPSLIST: DATA,<len>
...
+CFTPSLIST:0
b)if failed:
OK
+CFTPSLIST:<errcode>
d)if parameter format or any other errors:
ERROR
The directory to be listed. If the directory contains non-ASCII
characters, the <dir> parameter should contain a prefix of
{non-ascii}.String type, the maximum length is 256
The result code of the listing.0 is success, others are failure,
please refer to chapter 4.
Response
+CFTPSGETFILE: [{non-ascii}]"FILEPATH"[,(1-4)]
OK
Smart Machine Smart Decision
11 / 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