HTTPFileDownload

MacroModule

genre

File

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

definition

FileHandling.def

keywords

internet

Purpose

The module HTTPFileDownload downloads files from a given HTTP address.

Windows

Default Panel

../../../Modules/Macros/FileHandling/mhelp/Images/Screenshots/HTTPFileDownload._default.png

Parameter Fields

Field Index

Cancel: Trigger

Target Directory: String

error: Trigger

Target File Name: String

Extract file name from URL: Bool

URL: String

finished: Trigger

progress: Float

requestPending: Bool

Result Target File: String

Start: Trigger

Visible Fields

Start

name: start, type: Trigger

When pressed, the module starts the download of the specified file.

Cancel

name: cancel, type: Trigger

When pressed, the current download is canceled.

URL

name: url, type: String

Sets the URL to the file to download.

Target Directory

name: targetDirectory, type: String

Sets the directory where the downloaded file should be saved.

Extract file name from URL

name: extractFileNameFromUrl, type: Bool, default: TRUE

If checked, the module extracts the target filename from the URL.

Target File Name

name: targetFileName, type: String

Sets a target filename.

Result Target File

name: resultTargetFile, type: String, persistent: no

Shows the name of the downloaded file.

Hidden Fields

progress

name: progress, type: Float, persistent: no

finished

name: finished, type: Trigger

error

name: error, type: Trigger

requestPending

name: requestPending, type: Bool, persistent: no