如何在ftp中添加简单的暂停,恢复,停止和启动#下载

问题描述:

我想在ftp c#下载中添加启动,停止,暂停和恢复功能.
香港专业教育学院检查了太多的代码,但都是通过线程实现的.
有没有更简单易懂的方法来实现此功能.
如果您能帮助我,我将非常感谢您....

i want to add start, stop ,pause and resume functionality in ftp c# download.
ive checked so many codes but there are implemented through threading.
is there any simpler and easy to understand way to implement this functionality.
i''ll by thankful to u if u help me....

如果您不希望它具有响应能力,那么您就不会了"不需要线程,只需从线程中拉出找到的代码即可.
If you don''t want it to be responsive, then you don''t need threads, just pull the code you found out of the threads.


我已经使用线程实现了该功能.但是现在我遇到了一个大问题.当我尝试时中止线程会出现异常消息
如果我向客户退货我的产品,该线程已终止.您能告诉我如何删除此异常消息吗?
如果您能帮助我,我将不胜感激.
i''ve implemented the functionality with threads.but now i''m facing a big problem.when i try to abort the thread an exception message occurs
that THREAD HAS BEEN ABORTED which sounds very ood IF i delieverd my product to my customer.CAN you plzz tell me how to remove this exception message
I''LL BE THANKFUL TO U IF U HELP ME....