22.01.2015 Views

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

YES<br />

Vendor<br />

Syntax<br />

Test Command<br />

Responses<br />

<strong>AT</strong>+CFTPSGETFILE= +CFTPSGETFILE: [{non-ascii}]“FILEP<strong>AT</strong>H”, (0-8)<br />

OK<br />

Write Command<br />

Responses<br />

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

“”,<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 ”/”, <strong>this</strong> <strong>command</strong> 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 />

1 – “C:/Picture” directory<br />

2 – “C:/Video” directory<br />

3 – “C:/VideoCall” directory<br />

4 – “D:/Picture” directory<br />

5 – “D:/Video” directory<br />

6 – “D:/VideoCall” directory<br />

7 – “C:/Audio” directory<br />

8 – “D:/Audio” directory<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 />

<strong>AT</strong>+CFTPSGETFILE=” test2.txt”,2<br />

<strong>SIM5218</strong>_Serial _<strong>AT</strong>C_V1.36 455<br />

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!