File Transfer through VB.NET

Advertisement

tsantony
Donor
Joined:
Posts:
12

File Transfer through VB.NET

Hi,

problem when i transmit the file.

i can transmit the files more than 10 using vb.net. but the console application still hanging.
if i transmit less than 8 files no problem.

please help :!:

Reply with quote

tsantony
Donor
Joined:
Posts:
12

Timeout waiting for external console to complete the command

Hi,

i'm using VB.NET to put the file. i have lot of files (more than 100 files) at one time.
but i'm receiving this ERROR and it's killing my time.

ERROR: Timeout waiting for external console to complete the command.

if i put false for

RedirectStandardOutput = False

no problem to transmit the file. but i need to capture the log information.

please help me on this.

Description: Timeout waiting for external console to complete the command.

ERROR.jpg

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,459
Location:
Prague, Czechia

Re: Timeout waiting for external console to complete the command

It sounds like you are not continously reading output from winscp process, so the output buffer gets full and process hangs. For details see:
https://winscp.net/eng/docs/guide_dotnet#output

Anyway, I would recommend you to use WinSCP .NET library instead. It does all this for you.
https://winscp.net/eng/docs/library
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum