13.02.2014 Views

AT Commands Set

AT Commands Set

AT Commands Set

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SIM5320 <strong>AT</strong> Command <strong>Set</strong><br />

+CFTPSLIST: 0<br />

18.6.12 <strong>AT</strong>+CFTPSGETFILE Get a file from FTPS server to EFS<br />

Description<br />

The command is used to download a file from FTPS server to module EFS.<br />

SIM PIN<br />

YES<br />

References<br />

Vendor<br />

Syntax<br />

Test Command<br />

<strong>AT</strong>+CFTPSGETFILE=?<br />

Write Command<br />

<strong>AT</strong>+CFTPGETFILE=<br />

“”,<br />

Responses<br />

+CFTPSGETFILE: [{non-ascii}]“FILEP<strong>AT</strong>H”, (list of supported<br />

s)<br />

OK<br />

Responses<br />

OK<br />

+CFTPSGETFILE: 0<br />

+CFTPSGETFILE: <br />

ERROR<br />

ERROR<br />

OK<br />

+CFTPSGETFILE: <br />

Defined values<br />

<br />

The remote file path. When the file path doesn’t contain ”/”, this command transfers file from the<br />

current remote FTPS directory. If the file path contains non-ASCII characters, the file path<br />

parameter should contain a prefix of {non-ascii}.<br />

<br />

The directory to save the downloaded file:<br />

0 – current directory [refer to <strong>AT</strong>+FSCD]<br />

<br />

The error code of FTPS operation.<br />

Examples<br />

<strong>AT</strong>+CFTPSGETFILE=”/pub/mydir/test1.txt”,1<br />

OK<br />

…<br />

+CFTPSGETFILE: 0<br />

SIM5320_<strong>AT</strong>C_V1.24 415<br />

8/14/2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!