Defining S3 Upload File Jobs
This job allows you to update and upload a file from your local machine into an S3 bucket.
If the file already exist in the destination that you have specified, then it is overwritten. If the destination file path that you have defined does not exist in the bucket, the system creates the destination as defined and uploads the relevant file to that destination.
If the file name in the destination file path differs from the one in the source file path, the file is saved using the name that you have defined in the destination file path. The same applies to the file type. If the region and/or bucket do not exist, the Upload job fails.
On the Upload File Job section, you define the parameters relevant to run that job on the S3 system from Automic Automation.
Some fields allow you to open a picker dialog from where you can select the file and the bucket. By default, only 200 entries are displayed. If the relevant file or bucket is not displayed among those 200, please type in the relevant name on the Search field to narrow down the list.
-
Connection
Select the S3 Connection object containing the relevant information to connect to the Simple Storage Service system.
To search for a Connection object, start typing its name to limit the list of the objects that match your input.
-
Region
Defining the region in the job is optional and only relevant for AWS. If you choose not to define it, the job takes the URL defined in the Connection object.
However, if you decide to define the region in the job, make sure that the definition matches the one defined in the Connection object that you have selected for the job. If both region definitions do not match, the job execution fails and an error message is logged in both, the Agent (PLOG) and the Job (REP) reports (see Monitoring S3 Jobs).
-
Source File Path
Define the source file name or the path of where the source file is located, for example: C:\temp\text.xml.
-
Bucket Name
Define the bucket name to where the file must be uploaded. You can click the browse button to the right of the field to open a picker dialog where you can select the relevant name.
-
Destination File Path
Define the destination file name or the path to where the file should be uploaded in the bucket. You can define the path using either <file name> or <folder name>/<file name>.
The Pre-Process page allows you to define the settings all S3 Jobs using script statements. These statements are processed before the Schedule Job is executed, see Setting S3 Job Properties Through Scripts.
See also: