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

Advertisement

micut
Joined:
Posts:
1
Location:
Australia

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

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.

Reply with quote

Advertisement

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

Re: Aborting a session while it's still putting files (VB.NET)

By aborting, do you mean Session.Abort? That should work. If not please attach both debug (Session.DebugLogPath) and session logs (Session.SessionLogPath).

Reply with quote

Advertisement

You can post new topics in this forum