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 />

21.3.9 <strong>AT</strong>+CFTPGET Get a file from FTP server and output it from SIO<br />

Description<br />

The <strong>command</strong> is used to get a file from FTP server and output it to serial port. This <strong>command</strong><br />

may have a lot of D<strong>AT</strong>A transferred to DTE using serial port, The <strong>AT</strong>+C<strong>AT</strong>R <strong>command</strong> is<br />

recommended to be used.<br />

SIM PIN<br />

YES<br />

References<br />

Vendor<br />

Syntax<br />

Test Command<br />

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

Write Command<br />

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

“”[,]<br />

Responses<br />

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

s)]<br />

OK<br />

Responses<br />

OK<br />

+CFTPGET: D<strong>AT</strong>A,<br />

…<br />

+CFTPGET: D<strong>AT</strong>A, <br />

…<br />

…<br />

+CFTPGET: 0<br />

+CME ERROR<br />

[+CFTPGET: D<strong>AT</strong>A, <br />

…<br />

+CFTPGET: D<strong>AT</strong>A, <br />

…<br />

…]<br />

+CFTPGET: <br />

Defined values<br />

<br />

The remote file path. When the file path doesn’t contain ”/”, <strong>this</strong> <strong>command</strong> transfer file from 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 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 length of FTP data contained in <strong>this</strong> packet.<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!