User's Manual

Table Of Contents
File Transfer Protocol (FTP)
AT+i Programmer‘s Manual Version 8.32 11-1
11 File Transfer Protocol (FTP)
11.1 +i[@]FOPN FTP Open Session
Syntax:
AT+i[@]FOPN:<server>[,<port>]:<user>,<pass>[,<accnt>]
Opens an FTP link to an FTP server.
Parameters:
<server>
Logical name of the FTP or the server‘s IP address.
<port>
Optional FTP port in the range 0..65535.
<user>
FTP user‘s name
<pass>
FTP user‘s password
<accnt>
Optional FTP account
Command Options:
<server>
The server name may be any legal Internet-server name, which
can be resolved by the iChip‘s DNS (Domain Name Server)
settings. The server name may also be specified as an absolute IP
address given in DOT form.
<port>
Specifies the FTP server‘s listening port. If not specified, port 21
(decimal) is assumed.
<user>
User‘s name string. This must be a registered user on the FTP
server. Some servers allow anonymous login, in which case
user=anonymous.
<pass>
Password to authenticate user. If special characters are used, the
password must be specified within quotes. It is customary that
servers that allow anonymous login request an e-mail address as a
password.
<accnt>
Some FTP servers require an account in order to allow a certain
subset of the commands. In this case, the account name must be
specified when opening the FTP link.
@
The optional @ is used to flag the Force PASV mode. When @ is
specified, iChip only uses the PASV method when opening a data
socket to server for FTP data transfer.
Result Code:
I/<FTP handle>
Upon successfully connecting to the FTP Server and
authenticating the user, a socket handle is returned. The handle
<FTP handle> is used to reference the FTP session in all
following FTP commands.
I/ERROR
Otherwise