22.03.2013 Views

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

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.

11 File Transfer Protocol (FTP)<br />

11.1 +i[@]FOPN — FTP Open Session<br />

File Transfer Protocol (FTP)<br />

Syntax: <strong>AT+i</strong>[@]FOPN:[,]:,[,]<br />

Parameters:<br />

Command Options:<br />

Opens an FTP link to an FTP server.<br />

Logical name of the FTP or the server‘s IP address.<br />

Optional FTP port in the range 0..65535.<br />

FTP user‘s name<br />

FTP user‘s password<br />

Optional FTP account<br />

The server name may be any legal Internet-server name, which<br />

can be resolved by the iChip‘s DNS (Domain Name Server)<br />

settings. The server name may also be specified as an absolute IP<br />

address given in DOT form.<br />

Specifies the FTP server‘s listening port. If not specified, port 21<br />

(decimal) is assumed.<br />

User‘s name string. This must be a registered user on the FTP<br />

server. Some servers allow anonymous login, in which case<br />

user=anonymous.<br />

Password to authenticate user. If special characters are used, the<br />

password must be specified within quotes. It is customary that<br />

servers that allow anonymous login request an e-mail address as a<br />

password.<br />

Some FTP servers require an account in order to allow a certain<br />

subset of the commands. In this case, the account name must be<br />

specified when opening the FTP link.<br />

Result Code:<br />

@ The optional @ is used to flag the Force PASV mode. When @ is<br />

specified, iChip only uses the PASV method when opening a data<br />

socket to server for FTP data transfer.<br />

I/ Upon successfully connecting to the FTP Server and<br />

authenticating the user, a socket handle is returned. The handle<br />

is used to reference the FTP session in all<br />

following FTP commands.<br />

I/ERROR Otherwise<br />

<strong>AT+i</strong> Programmer‘s <strong>Manual</strong> Version 8.21 11-1

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

Saved successfully!

Ooh no, something went wrong!