如何使用c#.net中的progressbar将大型备份文件发送到ftp? [英] how to send large backup files to ftp with progressbar in c# .net?

查看:91
本文介绍了如何使用c#.net中的progressbar将大型备份文件发送到ftp?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我将近50mb的备份文件发送到ftp,但我的应用程序在上传期间运行缓慢,所以请帮助我。

如何使用c#.net中的进度条将大型备份文件发送到ftp?



请帮帮我。



谢谢。

Ankit Agarwal

软件工程师

hello,

I m sending almost 50mb backup file to ftp but my application running slow during uploading, so please help me for that.
how to send large backup files to ftp with progressbar in c# .net?

Please help me.

Thank You.
Ankit Agarwal
Software Engineer

推荐答案

使用一个 BackgroundWorker 执行上传,并通过 ReportProgress 向您的UI报告上传进度,如 this [ ^ ] SO答案。



/ ravi
Use a BackgroundWorker to perform the upload and report the progress of the upload to your UI via ReportProgress as shown in this[^] SO answer.

/ravi


这篇关于如何使用c#.net中的progressbar将大型备份文件发送到ftp?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆