Next Previous Up Contents
Next: Delay
Up: Activation Actions
Previous: View in Web Browser

A.10.1.14 Download URL

Configuration for Download URL action

Configuration for Download URL action

The Download URL action uses a URL column or expression defined in the table and downloads its contents to a local file.

Configuration:

Resource URL
Gives the URL of the remote resource to download. A column name may be selected from the drop-down list, or the expression language may be used to assemble a URL string from other columns.
Filename Expression
An expression for the name of the local file to which the resource should be saved. This is an expression based on table columns in the usual way; it might just be a column name, but is more likely to be a string expression based on columns in the table. For instance in the above example, the expression name + ".jpeg" (or equivalently concat(name, ".jpeg")) takes the content of the name column in the table, and appends the extension ".jpeg" to make a filename appropriate for the given row.
Directory
This selector is a convenience to let you choose the local directory into which files will be downloaded. You can type in a pathname, or use the Browse button to select a directory interactively. If this field is left blank, then the Filename expression supplied above will be used on its own to give an absolute or relative (to the current application directory) path.


Next Previous Up Contents
Next: Delay
Up: Activation Actions
Previous: View in Web Browser

TOPCAT - Tool for OPerations on Catalogues And Tables
Starlink User Note253
TOPCAT web page: http://www.starlink.ac.uk/topcat/
Author email: m.b.taylor@bristol.ac.uk
Mailing list: topcat-user@jiscmail.ac.uk