User Tools

Site Tools


transformations:filetransfer

This is an old revision of the document!


FILE TRANSFER

Category: Workflow / External


Description

This action can perform various commands on files and folders on a remote server over an SSH connection using the SFTP or SCP protocol:

  • Upload file(s)
  • Download file(s)
  • List files
  • List folders
  • Delete file(s)
  • Create folder
  • Rename folder
  • Delete folder


Action settings

Setting Description
ProtocolSelect the transfer protocol to use. Options: SFTP or SCP.
Connector*Select the pre-configured connector, or create a new connector, to the remote server.
CommandSelect the file/folder command to perform. Options: Download, Upload, List files, List folders, or Delete file.

* Setting can be specified using a parameter.

Download settings

Description: Downloads files from a remote location to a local folder.

Setting Description
Remote file(s)*Enter the name of the file to be downloaded. Use wildcards to download multiple files.
Local folder*Enter or browse to and select the local folder to save the downloaded file(s) to.
If a file with such name already existsSelect how EasyMorph will handle situations when the downloaded file already exists in the local folder. Options: Overwrite (the existing file is overwritten), Do nothing (the file is not downloaded), or Halt project execution (the workflow stops and a warning is displayed).

* Setting can be specified using a parameter.

Upload settings

Description: Uploads files from a local folder to a remote destination.

Setting Description
Local file(s)*Enter or browse to the file to be uploaded. Use wildcards to upload multiple files.
Remote folder*Enter or browse to and select the remote folder to save the uploaded file(s) to.
If a file with such name already existsSelect how EasyMorph will handle situations when the uploaded file already exists in the remove folder. Options: Overwrite (the existing file is overwritten), Do nothing (the file is not uploaded), or Halt project execution (the workflow stops and a warning is displayed).

* Setting can be specified using a parameter.

List files settings

Description: Produce a list of files, with selected details, in a specified folder on the remote server.

Setting Description
Remote folder*Select a subfolder on the remote resource to access.
ColumnsSelect the details of the found files to be included in the dataset. Each detail produces a column. Options: File name
with full path
, File name only, File extension, Size, and Date modified.

* Setting can be specified using a parameter.

List folders settings

Description: Produce a list of subfolders under the selected folder.

Setting Description
Remote folder*Select a folder on the remote resource to retrieve a list of subfolders from.
ColumnsSelect the details of the found subfolders to be included in the dataset. Each detail produces a column.
Options: Folder name with full path and Folder name only.

* Setting can be specified using a parameter.

Delete file settings

Description: Deletes the specified file stored on the remote resource.

Setting Description
Remote file(s)*Enter the filename(s) of the remote file(s) to delete. Wildcards are supported.
If the file doesn't existSelect how EasyMorph handles situations when the specified file does not exist. Options: Do nothing (nothing happens, the workflow continues, no error is displayed), or Halt project execution (workflow stops, an error is displayed).

* Setting can be specified using a parameter.

Remarks

When using SFTP, use the wildcard to transfer multiple files at once.


See also

transformations/filetransfer.1690248029.txt.gz · Last modified: 2023/07/24 21:20 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki