上载时检测损坏的文件 [英] Detect Corrupted Files While Uploading

查看:69
本文介绍了上载时检测损坏的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
我正在使用Web应用程序,在该应用程序中,在上传文件时,我需要检查要上传的文件是否损坏或未使用c#. ..

感谢任何形式的帮助..

Hi all.
I am working in a web application, where, while uploading the files, I need to check that the files which is getting uploaded is corrupted or not using c#.. I am trying a lot, but I am not getting any solution for the question..

Thanx for any kind of help..

推荐答案

除非您至少上传文件两次,或者在文件中包含检查值(SHA哈希值或类似值)例如)你不能.

否则,该文件必须具有完整性控制.

您可以使用FTP来做到这一点,但我想您正在谈论的是标准上传.
Unless you either upload the file at least twice, or include a checking value with the file (an SHA hash value or similar for example) you can''t.

The file would have to have integrity control in it, otherwise.

You can do it with FTP, but I imagine you are talking about a standard upload.


这篇关于上载时检测损坏的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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