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.

File Transfer Protocol (FTP) Theory of Operation<br />

29 File Transfer Protocol (FTP) Theory of Operation<br />

29.1 Introduction<br />

The FTP client component in iChip extends iChip‘s general-purpose sockets to<br />

incorporate an additional, dedicated socket for FTP activities. From the host‘s<br />

perspective, the FTP capabilities are a logical extension of the capabilities of e-mail and<br />

direct socket manipulation.<br />

As in all other iChip protocol implementations, host involvement in the specifics of FTP<br />

is minimal. iChip needs to deal with non-standard FTP issues, such as possible<br />

differences between FTP server responses, on its own. Multi-stage FTP protocol<br />

sequences are atomized under iChip control to minimize complexity and need for host<br />

processor intervention.<br />

The FTP protocol is described in RFC 959.<br />

29.2 iChip Family FTP Client Command Set<br />

Open FTP link to FTP Server<br />

Retrieve File List from Server<br />

Change Directory on Server<br />

Retrieve File Contents from Server<br />

Open a New File on Server<br />

Open an existing File on Server for Append<br />

Send Binary Data to an open File on Server<br />

Close a File on Server After Binary Data Send<br />

Delete File on Server<br />

Close FTP Session<br />

29.3 iChip FTP Client Operation Mode<br />

FTP specifies several operational modes. The RFC calls for a minimum implementation,<br />

which should be observed by all FTP servers. iChip restricts its operation mode to the<br />

minimum implementation to assure best intersystem compatibility.<br />

Character Types: ASCII Non-print<br />

Structure: File<br />

Mode: Stream<br />

29.4 FTP Command Socket<br />

The FTP command socket is normally on port 21 (decimal) of an FTP server. However,<br />

other ports can be specified to support special cases.

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

Saved successfully!

Ooh no, something went wrong!