Topic "Aborting a session while it's still putting files (VB.NET)"

Author Message
micut
[View user's profile]

Joined: 2013-08-17
Posts: 1
Location: Australia
Hi,
I'm using the .NET assembly in VB2010 to put files to remote servers. Some of the files are quite large (video files).
If I want to interrupt the transfer midway while uploading a file, is there any way to do that?
I've tried using FileTransferProgress and aborting or disposing the session during that event, but it doesn't seem to work properly.
I thought maybe there is some specific method or event for doing this.

Any help would be much appreciated.
Regards.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
By aborting, do you mean Session.Abort? That should work. If not please attach both debug (Session.DebugLogPath) and session logs (Session.SessionLogPath).
_________________
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