RemoteMasterFile

MLModule
genre Remote
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLRemoteFileTransfer
definition MLRemoteFileTransfer.def
see also RemoteSlaveFile
keywords transfer

Purpose

The module RemoteMasterFile enables file transfers to and from remote modules executed on a different computer.

Usage

This modules output must be connected with the input of a RemoteSlaveFile module and a file name must be selected.

If the Send button is pressed and the counter-part module is executed in a remote module, the file/directory is transferred to the file/directory specified on the other module.

Details

The RemoteSlaveFile module normally lives in a remotely executed macro module. If a file/directory name is set in the RemoteMasterFile module, an appropriate temporary file/directory name is created in the slave module.

If Send is selected, the file/directory (with all contents) is sent to the counter-part module. If With partners is set, all files/directories with the same base name (up to the first dot) are transmitted also.

The slave module may also decide to transmit files. Since this is an asynchronous operation, one must attach a field listener to the Received from Slave! field to react on this condition, even if it was triggered by a local action.

Windows

Default Panel

../../../Modules/ML/MLRemoteFileTransfer/mhelp/Images/Screenshots/RemoteMasterFile._default.png

Output Fields

output

name: output, type: RemoteFileTransfer(MLBase)

Parameter Fields

Visible Fields

File Name

name: fileName, type: String

Sets the local, absolute path to a file or directory to transmit (or receive).

Send

name: send, type: Trigger

If pressed, all files and directories covered by File Name and With partners are being transmitted.

Received from Slave!

name: received, type: Trigger

This field is triggered if files have been received from the slave.

With partners

name: includePartnerFiles, type: Bool, default: TRUE

If checked, all files and directories with the same base name as the given file/directory are also sent when the Send button is pressed.