User Tools

Site Tools


transformations:amazoncommand

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
transformations:amazoncommand [2021/07/05 02:19] – [Upload folder settings] craigttransformations:amazoncommand [2023/04/21 00:35] (current) – Add create folder, delete folder settings craigt
Line 9: Line 9:
 Currently, the following commands are available: Currently, the following commands are available:
   * List files   * List files
 +  * List folders
   * Download file   * Download file
   * Download folder   * Download folder
Line 14: Line 15:
   * Upload folder   * Upload folder
   * Delete file   * Delete file
 +  * Create folder
 +  * Delete folder
  
 \\  \\ 
 =====Action settings===== =====Action settings=====
 ^ Setting  ^ Description  ^ ^ Setting  ^ Description  ^
-|Command|Select the file operation this action will perform.  Options:  //List files//, //Download file//, //Download folder//, //Upload file//, //Upload folder//,  or //Delete file// See below for details of each command type.|+|Command|Select the file operation this action will perform.  Options:  //List files//, //List folders//, //Download file//, //Download folder//, //Upload file//, //Upload folder//, //Delete file//, //Create folder//, or //Delete folder//.  See below for details of each command type.|
 |Connector<sup>*</sup>|Select the preconfigured Amazon S3 connector, or, build one by selecting //Add connector//.| |Connector<sup>*</sup>|Select the preconfigured Amazon S3 connector, or, build one by selecting //Add connector//.|
-|Bucket<sup>*</sup>|Select the Amazon S3 bucket to perform the command in.| +|Bucket<sup>1</sup>|Select the Amazon S3 bucket to perform the command in.| 
-<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].+<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ 
 +<sup>1</sup> Setting can be specified using a [[:parameters|parameter]] or the first value of a column.
  
 \\  \\ 
Line 29: Line 33:
 |Folder<sup>*</sup>|Select a folder containing the files to create the file list from.| |Folder<sup>*</sup>|Select a folder containing the files to create the file list from.|
 |Columns|Select the details of the found files to be included in the dataset.  Each detail creates a column in the dataset.  Options:  //File name with full path//, //File name only//, //File extension//, //Size//, and //Date modified//.| |Columns|Select the details of the found files to be included in the dataset.  Each detail creates a column in the dataset.  Options:  //File name with full path//, //File name only//, //File extension//, //Size//, and //Date modified//.|
-<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].+<sup>*</sup> Setting can be specified using a [[:parameters|parameter]] or the first value of a column. 
 + 
 +\\  
 +====List folders settings==== 
 +**Description:**  Produce a list of folders, with selected details, in a specified S3 bucket. 
 +^ Setting  ^ Description 
 +|Folder<sup>*</sup>|Enter or select a folder containing the subfolders to create the list of.| 
 +|Columns|Select the details of the folders to be included in the dataset.  Each detail creates a column in the dataset.  Options:  //Folder name with full path// and //Folder name only//.| 
 +<sup>*</sup> Setting can be specified using a [[:parameters|parameter]], or the first value of a column.
  
 \\  \\ 
Line 38: Line 50:
 |Local folder<sup>*</sup>|Enter or browse to the local folder to download the file to.| |Local folder<sup>*</sup>|Enter or browse to the local folder to download the file to.|
 |If a file with such\\ name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder.\\  Options:  //Overwrite//, //Do nothing//, or //Halt project execution// See the "File already exists" table below.| |If a file with such\\ name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder.\\  Options:  //Overwrite//, //Do nothing//, or //Halt project execution// See the "File already exists" table below.|
-<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].+<sup>*</sup> Setting can be specified using a [[:parameters|parameter]], or the first value of a column.
  
 \\  \\ 
Line 46: Line 58:
 |Folder path<sup>*</sup>|Enter or browse to the folder in S3 bucket containing the files to download.| |Folder path<sup>*</sup>|Enter or browse to the folder in S3 bucket containing the files to download.|
 |Local folder<sup>*</sup>|Enter or browse to the local folder to download the files to.  This action will //overwrite// files with the same name(s)\\ that already exist(s) in the destination folder.| |Local folder<sup>*</sup>|Enter or browse to the local folder to download the files to.  This action will //overwrite// files with the same name(s)\\ that already exist(s) in the destination folder.|
-<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].+<sup>*</sup> Setting can be specified using a [[:parameters|parameter]], or the first value of a column.
  
 \\  \\ 
Line 55: Line 67:
 |Target folder<sup>*</sup>|Enter or browse to a folder in the S3 bucket to upload the file to.| |Target folder<sup>*</sup>|Enter or browse to a folder in the S3 bucket to upload the file to.|
 |If a file with such\\ name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder.\\  Options:  //Overwrite//, //Do nothing//, or //Halt project execution// See the "File already exists" table below.| |If a file with such\\ name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder.\\  Options:  //Overwrite//, //Do nothing//, or //Halt project execution// See the "File already exists" table below.|
-<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].+<sup>*</sup> Setting can be specified using a [[:parameters|parameter]], or the first value of a column.
  
 \\  \\ 
Line 65: Line 77:
 |Filter files|When checked, enter a filter to use on the filenames in the specified folder to constrain which files are uploaded.  Using wildcards in the filter is supported.| |Filter files|When checked, enter a filter to use on the filenames in the specified folder to constrain which files are uploaded.  Using wildcards in the filter is supported.|
 |Target folder<sup>*</sup>|Enter or browse to a folder in the S3 bucket to upload the files to.  This action will //overwrite// files with the same name(s) that already exist(s) in the destination folder.| |Target folder<sup>*</sup>|Enter or browse to a folder in the S3 bucket to upload the files to.  This action will //overwrite// files with the same name(s) that already exist(s) in the destination folder.|
-<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].+<sup>*</sup> Setting can be specified using a [[:parameters|parameter]], or the first value of a column.
  
 \\  \\ 
Line 73: Line 85:
 |File path<sup>*</sup>|Enter or browse to the remote file in the S3 bucket to delete.| |File path<sup>*</sup>|Enter or browse to the remote file in the S3 bucket to delete.|
 |If the file doesn't exist|Select 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).| |If the file doesn't exist|Select 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).|
-<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].+<sup>*</sup> Setting can be specified using a [[:parameters|parameter]], or the first value of a column.
  
-\\ \\ +\\
 ====File already exists options==== ====File already exists options====
 ^Option ^Description ^ ^Option ^Description ^
Line 81: Line 93:
 |Do nothing|No file is downloaded/uploaded, the workflow does not halt, and no error is displayed.| |Do nothing|No file is downloaded/uploaded, the workflow does not halt, and no error is displayed.|
 |Halt project execution|The project will stop processing and this action will display an error.| |Halt project execution|The project will stop processing and this action will display an error.|
 +
 +
 +\\
 +====Create folder settings====
 +**Description:**  Create a new folder under the parent folder in the selected S3 bucket.
 +^ Setting  ^ Description  ^
 +|Parent folder<sup>*</sup>|Select a folder in the S3 bucket to create the new folder under.|
 +|Folder name<sup>*</sup>|Enter the name of the new folder.|
 +|If a folder with such name already exists|Choose how EasyMorph behaves if a folder with the //Folder name// already exists.  Options:  //Fail// (the workflow stops with a warning) or //Do nothing// (the workflow continues without creating the new folder).|
 +<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\
 +
 +\\
 +====Delete folder settings====
 +**Description:**  Delete the selected folder in the S3 bucket.
 +^ Setting  ^ Description  ^
 +|Folder path<sup>*</sup>|Select the folder in the S3 bucket to delete.|
 +|If the folder doesn't exist|Choose how EasyMorph behaves if the selected folder does not exist.  Options: //Do nothing// (the workflow continues without creating the new folder) or //Fail// (the workflow stops with a warning).|
 +<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\
  
 \\  \\ 
transformations/amazoncommand.txt · Last modified: 2023/04/21 00:35 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki