10.7.3 FTP Client Startup Switches

You can start the FTP Client and provide command line parameters that automatically connect to a predefined site, run a specified script file, connect using a settings file, or connect to a server specified with a URL.

  • You can set up a shortcut with a startup command that automatically executes the startup command when you double-click it. The properties you specify for the shortcut determine whether the Client runs in a window or runs minimized on the desktop when you start it.

  • You can enter a startup command in the Openbox when you use the Runcommand on the Startmenu.

Startup Command Syntax
<executable>.exe [<site>] /<switch> <parameter>

<executable>.exe

Provides the path and name of the FTP executable file, for example:

"C:\Program Files\Micro Focus\Reflection\rftpc.exe"

<site>

Specifies a site defined in a settings file. The site properties are in effect when the client starts. If the site name contains spaces, enclose it in quotation marks, for example "ADA Home".

When included, the <site> argument is always the first argument on the command line. When used in conjunction with the /Wswitch, the <site> argument is ignored.

If the defined site is not in the default settings file (Settings), use the /RFWswitch to specify the settings file that includes the site definition.

/<switch> <parameter>

Use one or more of the switches listed below to specify the operations you want to perform when the client starts up:

Startup Switches

/D <diagnostic file>

Directs the client to record in the specified file all communications between the client and the server, as well as other diagnostic information that may be useful for troubleshooting. The specified diagnostic file is placed in your My Documents folder. This file is refreshed each time you start the client.

/E

Directs the client to log events to the Application event log. Note: The diagnostic file created with /D includes more detailed information than this event log.

/FMIGRATE

Launches the Reflection F-Secure Migration Wizard, which you can use to migrate F-Secure profiles to Reflection settings files.

/L <log file>

Directs the client to record in the specified log file all communication between the client and the server to which it connects. This is a cumulative log file; new information is added after existing information.

/N

Suppresses the display of the Reflection startup screen.

/RFS <script file>

Runs the specified script. If the script ends in a QUIT command, the client shuts down when the script completes.

/RFW <settings file>

Allows you to connect using the specified settings file.

/X <export file>

Launches the Export Settings dialog box directly without launching the main client window.

/W <URL>

Connects to the server specified in the <URL> parameter. The syntax is shown here:

rftpc[.exe] /W ftp://[username[:password]@]hostname[:port][/directory]

/?

Displays the list of allowable start-up commands.

Related Topics