User`s guide
235
Configuration – Network > FTP Relay
The FTP Relay agents allow any files to be transferred onto the router by a specified user
using the File Transfer Protocol to be temporarily stored in memory and then relayed to a
specific FTP host. This is useful when the router is being used to collect data files from a
locally attached device such as a webcam which must then be to a host system over a
slower data connection such as W-WAN. In effect, the router acts as a temporary data
buffer for the files.
The FTP Relay Agent may also be configured to email (as an attachment) any file that it was
unable to transfer to the FTP server. To facilitate this, set the Email Template, To, From and
Subject parameters as appropriate and also configure the SMTP client (Configuration –
Alarms > SMTP Account).
Configuration – Network > FTP Relay > FTP Relay n
There are two FTP Relay Agents available, with a separate web page for each. For command
line configuration, the instance number can be 0 or 1.
Relay files for user locuser to FTP Server ftphost
The value in the left-hand text box is the name of the local user and should be one of the
usernames assigned in the Configuration – Security > Users web page. This name is
then used as the FTP login username when the local device needs to relay a file. The value
in the right-hand text box is the name of the FTP host to which the files from the locally
attached device are to be relayed.
Server Username
The value in this text box is the username required to log in to the specified FTP host.
Server Password
The value in this text box specifies the password to be used to log in to the host.
Confirm Server Password
The password should be retyped into this text box in order to confirm that it has been
entered correctly, given that it is not echoed in clear text.
Remote directory
The value in this text box is the full name of the directory on the FTP host to which the file
is to be saved.
Rename file
When checked, this checkbox causes the router to store the uploaded files internally with a
filename in the form “relnnnn” where nnnn is a number that is incremented for each new file
received. When the file is relayed to the FTP host the original filename is used. When
unchecked, the file is stored internally using its original filename. This parameter should be
set if it a file having a filename longer than 12 characters is to be uploaded. This is due to
the internal file system having the 8.3 filename format (i.e. autoexec.bat).
Transfer Mode ASCII / Binary
These two radio buttons select between the two possible file transfer modes, binary data or
ASCII data.
Transfer Command STORE / APPEND
These two radio buttons select between the two possible storage methods, either append to
or replace existing file.
Attempt to connect to the FTP Server n times
The value in this text box specifies the number of connection attempts that the router
should make if the first attempt is not successful.