User's Manual

Table Of Contents
Secure Socket Protocol
AT+i Programmer‘s Manual Version 8.32 21-5
21.6 +i[@]FOPS Secure FTP Open Session
Syntax:
AT+i[@]FOPS:<server>[,<port>]:<user>,<pass>[,<accnt>]
Opens a secure FTP link to a secure FTP server.
Parameters:
<server>
Logical name of the FTP server 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 that
can be resolved by iChip‘s Domain Name Server (DNS)
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 for user authentication. 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 uses only 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 subsequent FTP commands.
I/ERROR
Otherwise