Technical information

Chapter 2: AT+i Commands Reference
May 31, 2008 AT+i Commands Reference Manual 2-27
+iFAPN - FTP Open File for Appending
+iFSND - FTP Send File Data
Syntax: AT+iFAPN:<F_hn>,<path>[,<sz>]
Opens an existing remote FTP server file for Append.
Parameters:
<F_hn> An open FTP session handle.
<path> File pathname.
<sz> Size in bytes to reserve for the file on the server.
Command Options:
<F_hn> Must have been obtained by a previous execution of an AT+iFOPN
command during the current Internet mode session.
<path> Absolute or relative path name of the remote destination file.
Following this command data is transferred to the remote file using one or
more +iFSND commands. The file transfer is complete by issuing a +iFCLF
(FTP File Close) command.
Result Code:
I/OK If file <path> was successfully opened for appending on the FTP server.
I/ERROR Otherwise.
Syntax: AT+iFSND:<F_hn>,<sz>:<stream…>
Uploads data to a remote FTP server file. Valid only after a successful
AT+iFSTO or AT+iFAPN command.
Parameters:
<F_hn> An open FTP session handle.
<sz> The exact size of the data stream that follows.
<stream> A byte stream of size <sz> composing the remote file contents.
Command Options:
<F_hn> Must have been obtained by a previous execution of an AT+iFOPN
command during the current Internet mode session.