本文介绍了获取文件大小,contentLength = -1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试图从FTP获取文件大小,所以我使用了
ContentLength
,它给了我-1值???

如何获得正确的文件大小?

谢谢
Musa Biralo.

hi there,

I am trying to get the file size from FTP so i used
ContentLength
and it's giving me -1 value???

How can i get the right file size?

Thanks
Musa Biralo.

推荐答案


这篇关于获取文件大小,contentLength = -1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-09 02:06