Issue on connection of SFTP

I am using UiPath.FTP.activity version 2.4.0.
I am getting error msg “Use FTP Connection: Permission denied (password).” while doing the connection of FTP

I am not able to pass SecureString variable in password under FTP scope

How to pass the securestring variable or how to handle this in FTP scope password, can someone assist me. Thanks !!

Hello @TJamuna , you must convert your SecureString to type string. You can do so with the steps below in an Assign activity:

myStringPassword = new System.Net.NetworkCredential(string.Empty, SftpPassword).Password

1 Like

@TJamuna,

In password property enter this expression to convert SecureString to String

new System.Net.NetworkCredential(string.Empty, SftpPassword).Password
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.