文件传输进度条 [英] Progress Bar for file transfer

查看:29
本文介绍了文件传输进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,大家好.我现在正在为 LAN 创建文件传输,我想在该文件传输中放置一个进度条,以便用户可以看到传输进度.如何根据文件的大小和传输速率操作进度条?

Hi there good day to all. I'm creating a file transfer for LAN right now and I want to put a progress bar in that file transfer so the user can see the progress of the transmission. How can I manipulate the progress bar based on the size and transfer rate of the file?

示例:我将一个 10mb 的文件发送到网络中的另一台计算机.我希望进度显示剩余时间或完成传输需要多长时间.

Example: I am sending a 10mb file to another computer in the network. I want the progress to show the remaining time or how long it will take to complete the transmission.

这里有人能告诉我该怎么做吗?

Can anyone here give me an idea on what to do?

推荐答案

看看 http://www.codeproject.com/KB/files/Copy_files_with_Progress.aspx 它可能会让你得到你想要的东西,或者至少是朝着正确的方向发展.

Take a look at http://www.codeproject.com/KB/files/Copy_files_with_Progress.aspx it might get you what you want or at least set in the right direction.

这篇关于文件传输进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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