beautypg.com

Using text commands – Westermo MR Series User Manual

Page 116

background image

116

6622-3201

Web Interface and Command Line Reference Guide

www.westermo.com

Using Text Commands

From the command line, use the frelay command to configure or display FTP Relay Agent settings.
To display current settings enter the command:

frelay ?

where is the instance number of the agent.

To change the value of a parameter use the command in the format:

frelay 0

The parameters and values are:

Parameter

Values

equivalent Web Parameter

ftpdir

text

Remote directory

ftpepwd

text

None - this is the password in
encrypted format. This parameter is
not configurable.

ascii

off, on

File transfer mode off=binary
on=ascii

appe

off, on

File transfer command off=store
(replace) on=append

ftphost

IP address

Server hostname

ftppwd

text

Server password

ftpuser

text

Server username

locuser

text

Local username

norename

off, on

Rename local file

retries

number

Client retry count

retryint

number

Client retry interval (s)

savemode

off, on

Transfer failure mode

smtp_from

email address

Email From

smtp_subject

text Email

Subject

smtp_temp

filename

Email template

smtp_to

email address

Email To

timeout

number

Client timeout (s)

For example, to set the FTP directory for FTP Relay Agent 1 to “images” you would enter the com-
mand:

frelay 1 ftpdir images

This manual is related to the following products: