- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-11-19 01:27 PM
I would like to get/post a file from sftp server, so is there any object available from blue prism? or any best method.
Thanks Pavani
------------------------------
pavani koduri
RPA Consulatant
Pearson
Europe/London
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-12-19 09:32 PM
This is built off of WinSCP and Renci SSHNet. The VBO expects the following files to reside within c:\bp (A general-use directory we have on our bots, you can change this as-needed):
-Renci.SshNet.dll
-Renci.SshNet.xml
-WinSCP.exe
-WinSCPnet.dll
Edit:
Looking back on this, I'm recalling that this was abandoned mid-development. Everything should work fine, save for the rsa 2048 stages. Those have most of the groundwork done, and just need the host key to be integrated.
Edit2:
It looks like to get the host key to work, you'll need to add the following to the sessionOptions section of the code stages
.SshHostKeyFingerprint = "ssh-rsa "+hostKey
------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
Richardson, TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-11-19 03:39 PM
You could launch command prompt from Blueprism process. Install WinSCP on the robot VDI and pass a script to perform operations from your SFTP location.
The following link has more details about how to script SFTP operations. https://winscp.net/eng/docs/scripting
------------------------------
GANESHRAJ JEEVARAJ
Automation Developer
Aviva
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-11-19 10:11 AM
------------------------------
pavani koduri
RPA Consulatant
Pearson
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-12-19 06:49 PM
I'm not aware of an existing SFTP integration. At least there aren't any on the DX. I have kicked around the idea of building one on top of WinSCP. Just haven't had the time.
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-12-19 09:32 PM
This is built off of WinSCP and Renci SSHNet. The VBO expects the following files to reside within c:\bp (A general-use directory we have on our bots, you can change this as-needed):
-Renci.SshNet.dll
-Renci.SshNet.xml
-WinSCP.exe
-WinSCPnet.dll
Edit:
Looking back on this, I'm recalling that this was abandoned mid-development. Everything should work fine, save for the rsa 2048 stages. Those have most of the groundwork done, and just need the host key to be integrated.
Edit2:
It looks like to get the host key to work, you'll need to add the following to the sessionOptions section of the code stages
.SshHostKeyFingerprint = "ssh-rsa "+hostKey
------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
Richardson, TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-12-20 09:34 PM
Hi!
I was developing a VBO solution for file transfer using winscp.dll and SFTP protocol and I am looking at this solution you shared. Excellent @AmiBarrett Good Job!!
Regards
------------------------------
Jhogel Ponne
Senior RPA
Ernst & Young
America/Panama
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-04-22 06:58 PM
Ami Barrett,
could you help me in the use of this vbo, the following message has been presented.
Code:
Dim clsRequest As System.Net.FtpWebRequest = _
DirectCast(WebRequest.Create(FTPTargetFile), FtpWebRequest)
clsRequest.Credentials = New NetworkCredential(FTPUsername, FTPPassword)
clsRequest.Method = WebRequestMethods.Ftp.ListDirectory
Dim reader As New StreamReader(clsRequest.GetResponse().GetResponseStream())
Dim line = reader.ReadLine()
Dim lines As New DataTable
lines.Columns.Add("fileName")
Do Until line Is Nothing
lines.Rows.Add(line)
line=reader.ReadLine()
Loop
Files = lines
------------------------------
Tiago silva
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-04-22 07:07 PM
------------------------------
Ami Barrett
Solution Architect
Karsun Solutions
Plano TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-08-24 05:38 PM
Where To find Renci.SshNet.xml .Kindly help us
