SFTP - Push Files

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

During the automated file transfer, only files with Available and Sanitized state within the source folders will be transfered.

Configuration

Target SFTP Username

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

Target 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 Target SFTP

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

See: SFTP Integration

Provide Source Path(s)

Provide paths from where recursively collect and push files from MetaDefender Managed File Transfer. Any number of paths can be configured, if no path is added, the root ('/') will be the source path.

Destination at Target SFTP

The destination path on the remote host. If the path does not exist, it will be created.

Transfer Method

Decide what to do with the original files on MetaDefender Managed File Transfer.

  • Copy Files: Files successfully pushed will remain intact on MetaDefender Managed File Transfer.
  • Move Files: Files successfully pushed will be removed from MetaDefender Managed File Transfer.

In case multiple source paths point to the same file, the file will only be deleted on the local instance if it was successfully pushed 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 /push it will only be removed from the local instance if pushing was successful for both /push/logs/log.txt and /push/log.txt.

File Overwrite Rules

Decide what to do if a file with the same absolute path already exists the remote host.

  • Don't Overwrite: Do not push the file to the remote host.
  • Overwrite Existing: Push the file to the remote host overwriting the existing one.

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

Example

I want to push files to my remote Ubuntu 20.04 host from MetaDefender Managed File Transfer. I only want to push files that are under the share folder in my root directory, I want this to be done every 30 minutes. My username is teodor and my password is pass%123! on the remote host.

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 be moved from my directory to the folder /home/teodor/from_mft on my linux host. If a file already existed there then overwrite it.

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