Technical information

File Transfer Protocol (FTP)
2-28 AT+i Commands Reference Manual May 31, 2008
+iFCLF - FTP Close File
+iFDEL - FTP Delete File
<stream> An 8-bit byte stream of exactly size <sz>. If <sz> is larger than 256 bytes,
W24 assumes host flow control. Depending on the setting of the FLW
parameter, the flow control mode is either software or hardware. Under
software flow control mode, the host processor must respond to W24's flow
control characters. The flow control protocol is detailed in the "Host -> W24
Software Flow Control" section later in this document. When software flow
control is active, it is recommended to set W24 to Echo-Off mode.
Under hardware flow control, the ~CTS/~RTS RS232 control signals must
be connected and the host must respond to W24's ~CTS signal. The host
may send data only when the ~CTS signal is asserted (active low).
Several consecutive +iFSND commands may be issued in sequence to
create a larger aggregate of data to be sent.
The file transfer is complete by issuing a +iFCLF (FTP Close File)
command.
Result Code:
I/OK After <sz> bytes have been transferred successfully to the FTP data socket.
I/ERROR Otherwise.
Syntax: AT+iFCLF:<F_hn>
Closes a file downloaded to a remote FTP server. Only valid after a
successful AT+iFSTO or AT+iFAPN command and optional AT+iFSND
commands.
Parameters:
<F_hn> An open FTP session handle.
Command Options:
<F_hn> Must have been obtained by a previous execution of an AT+iFOPN
command during the current Internet mode session.
Result Code:
I/OK After successfully closing the file.
I/ERROR Otherwise.
Syntax: AT+iFDEL:<F_hn>,<path>
Deletes a remote FTP file.
Parameters:
<F_hn> An open FTP session handle.