LinkBrowser Documentation

LinkBrowser is a program for browsing the links in html documents and downloading the files that they reference. Basically, this program is like a normal web browser, but instead of rendering the html it just shows a table of all the files that the html references. The files can be downloaded in batches.

Java™ 1.3 or above is needed to run this program. A suitable Java™ Runtime Environment (JRE) can be downloaded from http://java.sun.com

The program is invoked with the following command:

java -jar linkbrowser-0.3.jar [url or file]

Main Window

Screenshot

Batch Download Settings

Batch Download Setup

If some rows in the table are highlighted then a context menu is available (right click on most platforms). The "Download Selected Links" menu option shows the above dialog. The "local directory" parameter is required. When the "OK" button is pressed, a new window will be shown with a text log of each file that is downloaded. The log shows the progress as each file is downloaded and shows any errors that occur. It is also possible more advanced properties here: Batch Download Properties

PropertyDescription
local directory This specifies the directory that dowloaded files will be saved in.
context This optional parameter allows the folders to be recreated as they exist on the internet. It is used as a context for creating relative paths from URL's. These relative paths are then appended to "local directory" to create the names for downloaded files. For example, a context of "http://" will cause all directories to be recreated, including a directory for the host.
overwrite existing files Any existing files with the same names will be overwritten when this is true. Existing files are never overwritten when this is false.
delete file on error When this is true, a file will be deleted if an error is encountered during the download

Resolution of relative links

Link Processor Properties

In order to change the way that relative links are resolved, go into the "Options" menu and choose "LinkBrowser Properties." When the "context" property is set to some URL all relative links to be resolved relatively to that URL. In order to see the affect of these properties, the links must be processed again by pressing the "Reparse" button on the main toolbar.

Please send feedback and questions to zmedico at gmail dot com.