UiPath – How to Copy Files to AWS S3

This tutorial will walk you through how to copy files from the local drive to an AWS S3 bucket during a UiPath RPA process. One use case is creating a feed where data is scraped from a website, the data is stored in a .csv file during the process and then the .csv file is copied to an S3 bucket for use by another system.

Pre-requisites:

  1. Create an S3 user for the process in AWS IAM see this article
  2. Download the public and secret access keys for the user for use in the AWS CLI tool
  3. Download, install and configure the AWS CLI tool, see this article
    • This needs to be done in all environments where the process will be used – e.g. development, production etc.
  4. Write the process to extract the data and create the .csv file in UIPath Studio

Method:

  1. Use the Invoke Power Shell activity
    • UIPath.Core.Activities.InvokePowerShell<System.String>
  2. In the Properties panel, add the CLI CommandText to copy the file from its current location to the S3 bucket
    • "aws s3 cp YOURFILEPATH s3://YOURBUCKETNAME/YOURFILENAME"
  3. Check the IsScript checkbox
  4. Change the TypeArgument to String
UiPath AWS S3 Power Shell Activity
UiPath AWS S3 Power Shell Activity
UiPath AWS S3 Power Shell Activity Properties Panel
UiPath AWS S3 Power Shell Activity Properties Panel

UiPath and TortoiseSVN – Unable to Reach Remote SVN Repository

If you are looking to use TortoiseSVN version control with your UiPath projects and are having connection issues then this guide will help.

Solution:

Check you have downloaded and installed TortoiseSVN version 1.9.7.

This is very important, i’m using UIPath Studio 2018.4 and the latest version of TortoiseSVN 1.11 is not compatible.

You can download the compatible version here
https://osdn.net/projects/tortoisesvn/storage/1.9.7/Application/

You then need to create a SVN repository using ‘create repository here’ feature.

Once you have done this you should be able to follow the instructions in UiPath’s Studio guide without any problems

https://studio.uipath.com/docs/connecting-your-project-to-a-source-control#section-svn-version-control