Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7k views
in .NET FTP by
Hi,

I call the function get(string, string) asynchronously. Then I call CancelTransfer() while the file is being downloaded. The progress bar stops incrementing but my get(string, string) call never returns.

I never had this problem in ver 1.1.0

Any ideas?

Thank you
Tomas

3 Answers

0 votes
by (162k points)
Can you post your code, or email a small sample program to support at enterprisedt dot com?

edtFTPnet changed very little between 1.1.0 and 1.1.1, except for the adding of events ... but maybe we've introduced a bug.

Hi,

I call the function get(string, string) asynchronously. Then I call CancelTransfer() while the file is being downloaded. The progress bar stops incrementing but my get(string, string) call never returns.

I never had this problem in ver 1.1.0

Any ideas?

Thank you
Tomas
0 votes
by
There is no bug in the new version, it was my fault.
I havent had the time to look at the CancelTransfer() source, but I noticed that if my FTP server hangs, then the call to CancelTransfer causes get(String, String) method to hang as well. So my problem was my server hanging (though I dont think that the client would wait for some kind of response from the server during CancelTransfer, I should look into this a bit more). Anyways, thank you for the fast reply.


Can you post your code, or email a small sample program to support at enterprisedt dot com?

edtFTPnet changed very little between 1.1.0 and 1.1.1, except for the adding of events ... but maybe we've introduced a bug.

Hi,

I call the function get(string, string) asynchronously. Then I call CancelTransfer() while the file is being downloaded. The progress bar stops incrementing but my get(string, string) call never returns.

I never had this problem in ver 1.1.0

Any ideas?

Thank you
Tomas
0 votes
by
Can you post your code, or email a small sample program to support at enterprisedt dot com?

edtFTPnet changed very little between 1.1.0 and 1.1.1, except for the adding of events ... but maybe we've introduced a bug.

Hi,

I call the function get(string, string) asynchronously. Then I call CancelTransfer() while the file is being downloaded. The progress bar stops incrementing but my get(string, string) call never returns.

I never had this problem in ver 1.1.0

Any ideas?

Thank you
Tomas

Categories

...