Performing automatic login

Top  Previous  Next

You may login to a server automatically by passing the autoConnect applet parameter to the applet with a value of true. You must also provide the necessary hostname, username and password applet parameters. Under these conditions it is recommended that you hide the Connect, Disconnect, Help and About buttons.

 

Example

 

<param name="autoConnect" value="true">

<param name="hostname" value="ftp.myhost.com">

<param name="username" value="jsmith">

<param name="password" value="secret">

<param name="showButtons" value="false">

 

The above example demonstrates this setting using HTML applet parameters.

 

Example

 

autoConnect = true

hostname = ftp.myhost.com

username = jsmith

password = secret

showButtons = false

 

The above example demonstrates this setting loading applet parameters from the params.txt file.

 

See also

 

Hiding Connect, Disconnect, Help and About buttons

Specifying applet parameters