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
~ 66 ~
There are two options to close the file. A file can be closed either by sending the close string. By default
the close string is *CLOS*. The second method to close the file is by using the FTP close timer
set ftp timer <value>. Once you finish writing to the file, this timer will start counting down and close the
file when the timer counts down to zero. The timer is 1/8
th
of the actual value. For example, to set a timer of
5 seconds, the command is
set ftp timer 40
The open and close stings are configurable using the following commands:
set comm open <string>
set comm close <string>
15.1.2. Retrieving a file from FTP server
The retrieved file from the FTP server is not stored on the WiFly module’s flash memory. The WiFly
module acts as a transport and passes the file over the uart interface as the file is being transferred.
To retrieve a file from the FTP server issue the following command from the WiFly module:
ftp get <filename>
This will then print the open string on the uart and then the file will start transferring from the FTP server to
the WiFly module. Once the file transfer is complete, the WiFly module will print the close string indicating
the file is successfully transferred and the FTP connection is closed.
For example, to retrieve the file demo.txt, the command is
ftp get demo.txt