2. Download from an FTP Server
2.1. Overview
File Transfer Protocol (FTP) is a tried-and-tested industry standard for transferring files
over TCP-based networks. Skywire® modems support FTP, which is useful for
transmitting data. Below is an example for downloading a small text file from a FTP
server to the Skywire modem.
2.2. Activate the Data Session
In the terminal program, type the following command:
AT#SGACT=1,1
followed by the enter key, and the terminal program should display:
#SGACT: www.xxx.yyy.zzz
OK
where
www.xxx.yyy.zzz
is the IP address of your Skywire modem.
2.3. Set the Time Out Period
In the terminal program, type the following command:
AT#FTPTO=1000
followed by the enter key, and the terminal should display:
OK
2.4. Open an FTP Connection
To open an FTP connection, type the following into the terminal program:
AT#FTPOPEN=”example.com:xx”,”username”,”password”,y
where
example.com:xx
is the FTP server and port number you would like to connect
to,
username
and
password
is the login information for the the server, and
y
is the
FTP mode you would like to operate in (0 = active (default), 1 = passive), followed by
the enter key.
After a short delay
, the terminal program should display:
OK
The FTP connection has now been established.
Note: If you do not specify a port, the default value of 21 will be used.
2.5. Set the File Type
In the terminal program, type the following command:
AT#FTPTYPE=x
PN 30047 rev 2
NimbeLink Corp. All Rights Reserved.
4