SFTP - Pull Files

Utilize this type of Job in order to automatically pull files from a remote host using SFTP.

Configuration

Source SFTP Username

The username to authenticate with through SFTP on the selected host.

Source SFTP Password

The password to authenticate with through SFTP on the selected host.

In case of editing or duplicating a previously saved job, the password needs to be re-entered.

Select Source SFTP

Select the SFTP integration to utilize. Files will be pulled from the selected host.

See: SFTP Integration

Provide Source Path(s)

Provide paths to recursively collect and pull files from the selected host through SFTP. Any number of paths can be configured, if no path is added, the root ('/') will be the source path.

The folder structure under the configured source path(s) will be preserved under the destination.

Destination at MFT

The destination path in MetaDefender Managed File Transfer to pull the files to. If the path does not exist then it will be created automatically.

Transfer Method

Decide what to do with the original files on the remote host.

  • Copy Files: Files successfully pulled will remain intact on the remote host.
  • Move Files: Files successfully pulled will be removed from the remote host.

In case multiple source paths point to the same file, the file will only be deleted on the remote host if it was successfully pulled from all listed source paths.

For example if move is enabled and there is a file /data/logs/log.txt and source paths /data and /data/logs are configured with destination /pull it will only be removed from the remote host if pulling was successful for both /pull/logs/log.txt and /pull/log.txt.

File Overwrite Rules

Decide what to do if a file with the same absolute path already exists in MetaDefender Managed File Transfer.

  • Don't Overwrite: Do not pull the file from the remote host.
  • Overwrite Existing: Pull the file from the remote host and remove the locally existing one.

Overwrite doesn't do any precheck on the local or the remote file, it is just simply overwriting the local file with the remote one even if they contain the same data. This means if a file does not change on the remote host the same file will be pulled over and over again.

Workflow Override

If enabled then select which MetaDefender Core Workflow Rule should do the analysis on the files being pulled.

If Workflow Override is not enabled then the analysis will utilize the same MetaDefender Core Workflow Rule in case of a manually uploaded file.

Example

I want to pull files from my remote Ubuntu 20.04 host into MetaDefender Managed File Transfer. I only want to pull files that are in my home folder, I want this to be done every monday at 10AM. My username is teodor and my password is pass%123!.

My Ubuntu host can be reached on the FQDN lnx.home.io on which the SSH server is running and providing access on port 22. I want my files to remain on my linux host, just copy them for my user under the path /pulled/lnx on MetaDefender Managed File Transfer. If a file already existed there keep that, don't overwrite it. For these files I want my MetaDefender Core integration to analyse them with the Workflow Rule called "Pulled From Linux".

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard