Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

MGet (Get Multiple Files)

MGet (Get Multiple Files)

The MGet element allows you to download multiple files from the SCP server to the local machine.
Field
Definition
Basic Tab
Label
Specify a label for this action.
Source Directory
Specify the remote directory from which to download files. This value can be an absolute or relative path. Relative paths will be relative to the current working directory of the server. If left blank, files will download from the current working directory on the server.
Destination Directory
Specify where on the local system the files should be downloaded. If the specified directory does not exist, it will be created.
File Name Pattern
Specify the wildcard file name pattern to match files to download. For example, *.txt will download all files from the source directory that end with '.txt'.
Recursive
Specify whether or not sub-directories and files that match the given file name pattern will also be downloaded.
Default Value: false
Output Variables Tab
Destination Files Variable
If desired, specify the name of a variable which will contain the successfully downloaded files on the local system. This variable will be of type File List and may be used in subsequent tasks that accept a File List input variable. The variable will be created if it does not exist.
Number of Files Downloaded Variable
If desired, specify the name of a variable which will contain the number of files downloaded. The variable may be used in subsequent tasks. The variable will be created if it does not exist.
This task uses the File Set Elements. The field definitions for the File Set Elements can be found on the File Lists and File Sets topic.

0 COMMENTS

We’d like to hear from you!