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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11.10 +iFSND — FTP Send File Data<br />

Syntax: <strong>AT+i</strong>FSND:,:<br />

Parameters:<br />

Command Options:<br />

File Transfer Protocol (FTP)<br />

Uploads data to a remote FTP server file. Valid only after a<br />

successful <strong>AT+i</strong>FSTO or <strong>AT+i</strong>FAPN command.<br />

An open FTP session handle<br />

The exact size of the data stream that follows<br />

A byte stream of size composing the remote file contents<br />

Must have been obtained by a previous execution of an<br />

<strong>AT+i</strong>FOPN command during the current Internet mode<br />

session.<br />

An 8-bit byte stream of exactly size . If is larger than<br />

256 bytes, iChip assumes host flow control. Depending on the<br />

setting of the FLW parameter, the flow control mode is either<br />

software or hardware. Under software flow control mode, the<br />

host processor must respond to iChip‘s flow control characters.<br />

The flow control protocol is detailed in the ―Host iChip<br />

Software Flow Control‖ section later in this document. When<br />

software flow control is active, it is recommended to set iChip<br />

to Echo-Off mode.<br />

Result Code:<br />

Under hardware flow control, the ~CTS/~RTS RS232 control<br />

signals must be connected and the host must respond to iChip‘s<br />

~CTS signal. The host may send data only when the ~CTS<br />

signal is asserted (active low).<br />

Several consecutive +iFSND commands may be issued in<br />

sequence to create a larger aggregate of data to be sent.<br />

The file transfer is complete by issuing a +iFCLF (FTP Close<br />

File) command.<br />

I/OK After bytes have been transferred successfully to the FTP<br />

data socket.<br />

I/ERROR Otherwise<br />

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

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

Saved successfully!

Ooh no, something went wrong!