GetFiles method returns timeout exception for big files

Advertisement

karthiknsra
Joined:
Posts:
6
Location:
MK

GetFiles method returns timeout exception for big files

Hi,

I am trying to download a big file and the getfiles method is returning timeout exception after some time. For small files, the code is working fine.

I am using VBA with winscpnet.dll. I gave timeout value as 30 secs and also tried without timeout, still I get the same issue for big files. Can anyone please suggest the issue.

Regards,
Karthik

Reply with quote

Advertisement

karthiknsra

What I noticed was, though Timeout message had displayed, copy action was still progressing in the background and getting completed. How to check if the file transfer is successful and it's completion.

Reply with quote

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

Re: GetFiles method returns timeout exception for big files

Please attach a full session and debug log file showing the problem (using the latest version of WinSCP).

To generate log files, set Session.SessionLogPath and Session.DebugLogPath. Submit the log with your post as an attachment. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum