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

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

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

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

Write Command<br />

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

“”,[,]<br />

Responses<br />

OK<br />

+CFTPPUTFILE: 0<br />

+CME ERROR<br />

OK<br />

+CFTPPUTFILE: <br />

Defined values<br />

<br />

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

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

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

<br />

The directory that contains the file to be uploaded (For SIM5320, Only 0 is valid):<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 value for FTP “REST” <strong>command</strong> which is used for broken transfer when transferring failed last<br />

time. It’s range is 0 to 2147483647.<br />

<br />

The error code of FTP operation.<br />

Examples<br />

<strong>AT</strong>+CFTPPUTFILE=”/pub/mydir/test1.txt”,0, 10<br />

OK<br />

<strong>AT</strong>+CFTPPUTFILE=” test2.txt”,0<br />

OK<br />

…<br />

+CFTPPUTFILE: 0<br />

<strong>AT</strong>+CFTPPUTFILE={non-ascii}” B2E2CAD42E747874”,0<br />

OK<br />

…<br />

+CFTPPUTFILE: 0<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!