WEBBROWSER - Display a web browser window

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Script Programming > Script Commands > All Script Commands >

WEBBROWSER - Display a web browser window

Syntax:

WEBBROWSER

[ resource ]

Arguments:

[ resource ]

A fully formed URL or a resource on the currently connected remote HTTP or HTTPS site.

Options:

None

 

 

 

This script command opens a new Robo-FTP web browser window to the web page specified in the [ resource ] argument.

 

If Robo-FTP is not currently connected to an HTTP or HTTPS site the [ resource ] argument must specify a complete URL as follows:

 

WEBBROWSER "www.robo-ftp.com/download"

 

If Robo-FTP is connected to an HTTP or HTTPS site the [ resource ] argument may be relative to the current remote path. The following example produces the exact same result as the previous example:

 

FTPLOGON "www.robo-ftp.com" /servertype=HTTP

WEBBROWSER "download"

 

If a web browser window is opened during a HTTP or HTTPS session that previously started using the FTPLOGON command any cookies set during the session are available to the browser.

 

 

Related command(s): FTPLOGON, FTPCLIENT, CONSOLE, TRACEWIN, PROMPT, ASK, MESSAGEBOX, PLAYSOUND, BROWSE

See also: Running Robo-FTP with Prompting