SFTP Scope activity not working

Hi everyone!
Im trying to connect to a SFTP with the package UiPath.FTP.Activities 2.3.0.
In FTP Scope activity i’m filling:

  • Password
  • Username
  • Check Use SFTP
  • FTPS Mode = None
  • SSL Protocols = Default
  • Host
  • Port

The error I get is:
“FTP Scope: Timed out trying to read data from the socket stream!”

When I add the password in the Client Certificate Password field it shows me this error:
“FTP Scope: An established connection was aborted by the server.”

I can access by a third party software with the same credentials, but can’t from UiPath.

Has anyone had this problem?
Thanks!!

Hi @jose_rlc1

could you please check the below thread.

The last time i tested it was last year. Justed again without issues.

What is your UiPath version and is your project running in windows mode?

I do not use the secure string password for this example, but it is better to use that.

Example settings
Hostname: vps1.domain.lan (or ipaddress)
ssh Username: vps1_user
ssh userpassword: vps1_user_password
port: 22
Desired connection: sFTP
Certificates used: no
Remote directory to check: /home/ha/hass

Follow these steps:

  1. Create a new UiPath project in windows mode
  2. Add the activity from the package manager: UiPath.FTP.Activities / version: 2.3.0 / strict
  3. Open your main.xaml
  4. Ad the FTP scope and add these settings. Make sure to set the correct values in the datatype (string, integer).
Password: stringType
UserName: stringType
FTPS mode: none
SSL Protocols: Default
Use sFTP mode: yes
Host: StringType (ipaddress or domainname)
Port: Integer

  1. In the FTP scope add the activity Directory Exists and set the remote folder to check in stringType
  • Set the response to a Variable
  • Log the variable in a log message
  1. Run the project
  • Connection ok.
  • Run the test with an existing folder > true
  • Run the test with a non-existing folder > false

If you still have issues, please share your setup.
Make sure credentials are not visable for us.

Thank you so much for your help.
I tried every step and it didn’t works, it throws exception “FTP Scope: An established connection was aborted by the server.”
UiPath version is 2023.10.6 Enterprise License, package UiPath.FTP.Activities 2.3.0 Strict.
This is the setup i’m using:

Did you set your password and hostname in string format ? so within double quotes.

edit: i think you have used variables for them.

Check your server logs for incoming requests, because thats not what we can check for you.

Give delay activity inside the scope and give log message like “connection established”. Due to network also there may be delay in connecting with server. Still if issue continued instead of using variable first try to give static values to check whether working fine or not. Then based on the result can modify to variable