Mountpoint Connector

Provides a file system connection with access to a KNIME Mountpoint, for example "LOCAL", or "My-KNIME-Hub". It can also provide a file system connection with access to the mountpoint which contains the current workflow. The resulting output port allows downstream nodes to access files, e.g. to read or write, or to perform other file system operations (browse/list files, copy, move, ...) in the selected mountpoint.

Note:In many cases it is not necessary to use this connector node. Nodes that require file system access (e.g. the File Reader node) already provide the same level of access, by choosing for example Read from > Mountpoint. The purpose of this connector node is to make file access with relative paths more flexible, by allowing to explicitly configure the working directory of the resulting file system connection. For example, this makes it easier to relocate (or change) the files that your workflow accesses, because you only need to change the working directory.

Path syntax: Paths for this connector are specified with a UNIX-like syntax such as /myfolder/myfile. An absolute path consists of:

  1. A leading slash ("/").
  2. Followed by the path to the file ("myfolder/myfile" in the above example).

Options

Settings

Mountpoint selection
Specify the mountpoint to access.
  • Current mountpoint: If chosen, the file system connection will give access to the mountpoint which contains the current workflow. If you are not using this connector node, this option is equivalent to choosing Read from > Relative to > Current mountpoint. Selecting the option Set working directory to the current workflow, will additionally set the working directory of the file system connection to the location of the current workflow. This is then equivalent to choosing Read from > Relative to > Current workflow.
  • Other mountpoint: If chosen, the file system connection will give access to the selected mountpoint. Unconnected mountpoints are greyed out and can still be selected, but you need to go to the KNIME Explorer and connect to the mountpoint before executing this node. A mountpoint is displayed in red if it was previously selected but is no longer available. You will not be able to save the dialog in this case.
Working directory
Specify the working directory of the resulting file system connection, using the Path syntax explained above. The working directory must be specified as an absolute path. A working directory allows downstream nodes to access files/folders using relative paths, i.e. paths that do not have a leading slash. The default working directory is "/".

Advanced

Connection timeout (seconds)
Timeout in seconds to establish a connection, or 0 for an infinite timeout.
Read timeout (seconds)
Timeout in seconds to read data from an established connection, or 0 for an infinite timeout.

Input Ports

This node has no input ports

Output Ports

Icon
File system connection to the current mountpoint, or the selected mountpoint.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.