User manual
WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 65 ~
15. FTP Client
Roving Networks adds FTP client capability to its standard firmware which enables the WiFly module to
“get” and “put” files to a FTP server. Earlier, FTP was used by the WiFly modules to update firmware only.
Now, with the release of firmware version 2.22, it is possible to get and put files to a FTP server in addition
to upgrading the module firmware.
Setting up the WiFly module to connect to FTP server
By default, the WiFly module is configured to get the latest firmware from the Roving Networks’ FTP
server. To configure the WiFly module to connect to your own FTP server, certain parameters need to be
changed. These parameters are described below:
set ftp address <IP address> // sets the IP address of your FTP server. Default is Roving FTP server
set ftp dir <string> // sets the directory in the FTP server. Default is public
set ftp user <string> //sets the user name of FTP server
set ftp pass <string> //sets the pass phrase of the FTP server
save
reboot
The above commands set up the WiFly module to connect to the FTP server. It is assumed that the FTP
server is correctly set up and configured. The WiFly module is configured to associate to the wireless
network.
15.1. Creating and retrieving files form FTP server using the WiFly
module
15.1.1. Creating files on FTP server
Once the module is configured to connect to the FTP server as described in section 15, it can create files
on the FTP server and retrieve files from the FTP server.
To create a file on the FTP server, the command is:
ftp put <filename>
This will create a file on the FTP server with the filename and print the open string on the uart. By
default the open string is *OPEN*. Once you see the *OPEN* on the uart, you can start writing data in
to the file.
Please note that the file name can be up to 64 bytes.