FTP Activities Error With ftp session: A connection attempt failed because the connected party did not properly respond after a period of time

Hello , I am using UiPath FTP activities pack and getting this error while using acivity named as “With ftp Session”. here is error
"With ftp session: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
"

1 Like

Hi @Naveed_Hakim1

Which version of the FTP package are you using?

1 Like

1.0.7346.28183 this version

1 Like

It is indeed the latest one.

Could you please verify that there is no network issues on the way to the server (=that it works with another tool).

can you elaborate what do you mean by network issues?

The error message states:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

This suggests that there was an issue connecting to the specific FTP server.

An easy way to test it would be to first try to connect to the FTP server with another tool, just to see if the issue is UiPath Studio specific or more general.

That issue was with network and now is gone. Now what happens is with ftp session activity is running. IT is neither giving error not moving to next step and keeps running. Program stays stuck . Can you let me know what can be a possible solution?

@HareeshMR can you please look into it real quickly?

"With ftp session: OOPS: error:00000000:lib(0):func(0):reason(0 got this error after 10 minutes of running

As @loginerror said, Have you tried connecting the server through some other sources like Putty or whatever (I’m not sure which type of server you are trying to connect) @Naveed_Hakim1

Or Try to ping the server IP in CMD
or in the run, try to give the IP of the machine and check what you are getting

1 Like

I am able to access it via other softwares

but I get this error
when trying to access fro uipath ,

Could you maybe try with some random test server to have a point of reference:
ftp://speedtest.tele2.net/

It would be fantastic if you could reproduce this error in a new project and by using this test server. If you could then share your project with us, it would allow us to have a further look.

Please keep in mind that the code of the FTP activity package is available here, so that anyone could have a look at what is going on:

I will mark this issue as #pr-welcome for our users to easily find the issue and maybe try to fix it. If you manage to reproduce the issue in the new project, I am sure it will help a lot in getting it fixed.

how can I use this server in uipath? like what should I put in credential field

this error comes up

You can use anonymous as username, this should be enough.

This ran successfully but I have issue on my server

1 Like

In that case, you will need to double check what the difference is between the two.

Maybe your server times out after specific time? Is it always the same amount of time?