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

The user password for FTP server access. The maximum length is 40 bytes.<br />

Examples<br />

<strong>AT</strong>+CFTPPW=”mypass”<br />

OK<br />

<strong>AT</strong>+CFTPPW<br />

+CFTPPW: “mypass”<br />

OK<br />

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

+CFTPPW: ”mypass”<br />

OK<br />

21.3.7 <strong>AT</strong>+CFTPGETFILE Get a file from FTP server to EFS<br />

Description<br />

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

SIM PIN<br />

YES<br />

References<br />

Vendor<br />

Syntax<br />

Test Command<br />

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

Write Command<br />

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

“”,[,]<br />

Responses<br />

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

s) [, (list of supported s)]<br />

OK<br />

Responses<br />

OK<br />

+CFTPGETFILE: 0<br />

+CME ERROR<br />

OK<br />

+CFTPGETFILE: <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 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 to save the downloaded file (For SIM5320, Only 0 is valid):<br />

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

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!