从UNC路径访问文件时找不到文件异常 [英] File Not Found Exception while accessing file from UNC Path

查看:118
本文介绍了从UNC路径访问文件时找不到文件异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要访问UNC路径中的文件。

I have a requirement to access the file present in UNC path.

访问文件时,应用程序抛出文件没有异常,文件大小显示为0 KB。

While accessing the file, application throws file not exception and file size is shown as 0 KB.

同一文件显示大小>在Windows资源管理器中复制并粘贴时为0 KB。

The same file shows size > 0 KB when copied and pasted in windows explorer.

这是限制还是来自Framework方面的设计?

Is this the limitation or by design from Framework side?

提前致谢,

Vijay Zalaki 

Vijay Zalaki 

推荐答案

您好,

请发布您的代码,环境,框架版本,并且还表明您是否拥有相关文件夹的权限

Please post your code, environment, Framework version, and also indicate yes or no you have authority to th folder in question


这篇关于从UNC路径访问文件时找不到文件异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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