Abort take time when transfer is going on.

0 votes
asked Dec 18, 2014 by ganeshspy (900 points)
edited Dec 31, 2014

Abort take time when transfer is going on.

Any suggestion to reduce that time.

I am transferring one big file in one thread and i stop that transfer using Another thread(i.e UI Thread).

Applies to: Rebex FTP/SSL

1 Answer

+1 vote
answered Dec 18, 2014 by Tomas Knopp (58,890 points)
edited Dec 31, 2014
 
Best answer

Hello,

please download the latest version of Rebex (2014R3) and have a look at the FtpWinFormClient sample project and test it.

The sample shows how to use the async methods in combination with await keyword and then the Ftp.Abort method to abort an ongoing async transfer.

I have tested the sample and the Abort is immediate even when a large file is in upload / download progress.

commented Dec 18, 2014 by Tomas Knopp (58,890 points)
edited Dec 18, 2014

If the above does not help, please create a log of the client/server communication and either post it here, or send it to support@rebex.net. We will be able to look into this issue then.

commented Dec 31, 2014 by ganeshspy (900 points)
edited Dec 31, 2014

Yup its working.. Thanks.......

...