FTP/SFTP Parameterized Reader Component
This component connects to a File Transfer Server and downloads files based on the input data sent into the component. The component can be used to download either a single file or an entire directory of files depending on the path specified on the input channel. The input channel expects to receive a StringData object whose value is the path to be downloaded from the remote server.
Data Governance
The FTP/SFTP Parameterized Reader Component will register all the File Data objects it returns with the Data Governance System. The File Data objects are registered as being derived from the String Data object that triggered the transfer.
Input Channels
default — Causes the File Transfer Component to download the file or files from the server that are at the path specified in the StringData object sent in.
Output Channels
default — Outputs FileData objects for each file that is downloaded from the File Transfer Server.
error — Outputs an ErrorOutput object if there is an error communicating with the File Transfer Server.
Parameters
resource — (FTP Resource) The resource defining the service to which this component should connect
downloadRecursive — (boolean, default: false) Instructs the component to recursively download files found in any directories of the download path.