RemoteMasterFile¶
-
MLModule¶ genre Remoteauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll MLRemoteFileTransferdefinition MLRemoteFileTransfer.def see also RemoteSlaveFilekeywords transfer
Purpose¶
The module RemoteMasterFile enables file transfers to and from remote modules executed on a different computer.
Usage¶
This module’s 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 counterpart 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 pressed, the file/directory (optionally with all its contents) is sent to the counterpart module. If With partners is set, all files/directories with the same base name (up to the first dot) are transmitted as well.
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 to this condition, even if it was triggered by a local action.
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¶ When pressed, all files and directories covered by
File NameandWith partnersare being transmitted.