Downloading larger folders gives TimeoutException

Advertisement

Jaoryx
Joined:
Posts:
5
Location:
Belgium

Downloading larger folders gives TimeoutException

I have been struggling with this for a week now trying to solve it myself but I can't figure it out so I thought I try the forum 😅

Here is the problem: when I use Session.GetFiles for a folder that's containing a lot of files, my application breaks on a TimeoutException saying "Timeout waiting for WinSCP to respond".
However, downloading a folder with little files in it or downloading just one file works completely fine.

Is there anything I'm missing? I added the log with this topic.

Edit: Forgot to mention that my FileZilla server shows connections and transfers just fine, so it is doing something.

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Downloading larger folders gives TimeoutException

Did you try setting longer Session.Timeout?

Or post debug log – Session.DebugLogPath.

Reply with quote

Advertisement

You can post new topics in this forum