Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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).
micut

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.