Nodejs中如何知道fs的复制和重命名的进度状态
我不是在谈论上传和下载。
我想知道一个驱动程序以及驱动程序之间的进度状态。
例如,使用 fs.copy 复制文件需要时间来完成,但不知道完成了多少工作。另外,不同硬盘之间的重命名也需要时间才能完成。但是,无法知道进度百分比或大小。
有人知道如何在复制或重命名时获取信息吗?
I am not talking about upload and download.
I want to know the status of progress in a driver and between drivers.
For example, copying file with fs.copy needs time to be done, but there is no way how much the work is done. Furthermore, Renaming between different hard disks also needs time to be finished. However, there are no way to know the progress percentage or size.
Does anybody know how to get the information during copy or rename?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论