Topic "File Transfer through VB.NET"

Author Message
tsantony
[View user's profile]
Donor
Joined: 2013-01-04
Posts: 12
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 Exclamation
tsantony
[View user's profile]
Donor
Joined: 2013-01-04
Posts: 12
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.
ERROR.jpg (11.09 KB)

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

ERROR.jpg

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
It sounds like you are not continously reading output from winscp process, so the output buffer gets full and process hangs. For details see:
http://winscp.net/eng/docs/guide_dotnet#output

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

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License