Upload file to Amazon S3 bucket

Hi,
Is there a way to upload files from local to amazon s3 bucket through uipath?

@Bhargavi92

Depends on your coding skills. Here is the link for uploading files into Amazon S3 bucket with simple Java and C# examples. ===> https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration-examples.html

You can edit the example code for your platform and use the Invoke Code Activity. Here is the forum link for converting C# code to VB ==> How to use C# CODE IN UIPATH

Regards,
Thrall

Thanks Thrall.

Hi @Bhargavi92,

did you solved? our team have same requirements.

Thanks in advance.
@loginerror @ovi

Hi @Arjun1 ,
I understood that we have to achieve this using the Invoke code activity ( coding it in VB.net ).

I am still working on it.

Thanks
Bhargavi

Hi @Bhargavi92,
Please find solution here How to upload files on AWS s3 bucket? …cheers: smile:

Thanks @Arjun1

Hi Arjun1,
please help me i’m getting this error.

No compiled code to run
error BC30560: ‘RegionEndpoint’ is ambiguous in the namespace ‘Amazon’. At line 7
error BC30560: ‘AmazonS3Client’ is ambiguous in the namespace ‘Amazon.S3’. At line 10
error BC30560: ‘PutObjectRequest’ is ambiguous in the namespace ‘Amazon.S3.Model’. At line 18
error BC30560: ‘PutObjectResponse’ is ambiguous in the namespace ‘Amazon.S3.Model’. At line 24
error BC30560: ‘AmazonS3Exception’ is ambiguous in the namespace ‘Amazon.S3’. At line 30

add AWS sdk package
download from https://www.nuget.org/packages/AWSSDK.S3/
and into your project it is nupkg files