cancel
Showing results for 
Search instead for 
Did you mean: 

How to Transfer file from Local machine to AWS using PPK file in Blueprism

RajeshKumar
Level 5
Hi All, 

I am trying to transfer file using .ppk file in blueprism. Appreciate any insights.
Thanks in advance.

------------------------------
Rajesh Kumar
RPA Developer
America/Chicago
------------------------------
1 BEST ANSWER

Best Answers

@Rajesh Kumar,

You can try this asset from the DX. It's the SSH.NET VBO. I'm not sure if it's been tested with PPK files specifically although it states in the documentation that it supports private key files.

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

View answer in original post

14 REPLIES 14

ewilson
Staff
Staff
@Rajesh Kumar,

Can you provide some more detail? When you say you're trying to transfer a file to AWS are you talking about uploading the file to an S3 bucket, submitting it to some AWS cognitive service (ex. Rekognition), etc.

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi Eric, 

I was able to login WINSCP using .ppk file and connect to (EC2 instance or S3 bucket) and transfer file. I want to do same using blueprism. Let me know if you need more info. Attached screenshots for your reference,

Even if its not AWS EC2 or S3 in general how can we achieve above task.


Thank you, 
Raj

------------------------------
Rajesh Kumar
RPA Developer
America/Chicago
------------------------------

@Rajesh Kumar,

You can try this asset from the DX. It's the SSH.NET VBO. I'm not sure if it's been tested with PPK files specifically although it states in the documentation that it supports private key files.

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi Eric, 

Thank you for the asset advise from DX. Any insights how to fix below error.  Attached Screen shots

Page: Initialise
Stage: Stage1
Type: Error
Action: Validate
Description: Compiler error at top section line -13: Metadata file 'Renci.SshNet.dll' could not be found
Repairable: No



Thank you, 
Raj

------------------------------
Rajesh Kumar
RPA Developer
America/Chicago
------------------------------

@Rajesh Kumar,

Please refer to the User Guide available on the asset page. There are 3rd party DLLs used by the VBO which you must get from NuGet.

If you're not familiar with what a NuGet package is, it's basically a zip file. You can download the nupkg file as described in the guide, change the file extension to .zip, and then unzip the contents. From there you can grab the required DLL and place it in you Blue Prism folder.

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi Eric, 
I got the DDL and now when trying to use the action I am getting "Invalid private key file.". Any insights? I am trying to authenticate using PPK file.

------------------------------
Thank you,
Rajesh Kumar
RPA Developer
America/Chicago
------------------------------

Hi @Rajesh Kumar,

I looked into this a bit more. It seems PPK files are proprietary to PuTTY, so that's likely why you're getting the "invalid private key file" error. Do you have to use the PPK file or can you generate a new public/private key pair with something like OpenSSL? If you have to use the PPK file you'll probably need to create a UI automation of a PuTTY client (ex. WinSCP)​.

Cheers,

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi Eric, 

We have PEM file with private key in it. Any insights how can I transfer file using PEM file. I used same action but got below error.

20791.png



Thank you, 
Raj

------------------------------
Rajesh Kumar
RPA Developer
America/Chicago
------------------------------

Hi @Rajesh Kumar,

Can you tell me which version of the Renci.SSHNET.dll library you're using?

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------