请帮助需要从网络服务器访问本地文件夹 [英] PLEASE HELP need access to local folder from webserver

查看:87
本文介绍了请帮助需要从网络服务器访问本地文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

情景

我的网络应用程序需要读取和写入经过身份验证的客户端服务器中的单个已定义文件夹和子文件夹中的长数据文件(xml,文本,pdf,图像)。我尝试了WebClient和Ftp请求,但它太慢了!我需要直接访问本地客户端文件夹!

解决它的最快方法是什么?>

SCENARIO
My network application need to read and write long data files (xml, text, pdf, images) to a single defined folder and sub folders in the authenticated client server. i tryed WebClient and Ftp request but it's too slow! I need direct access to local client folder!
What's the fastest way to solve it?>

推荐答案

基本上你不能。有几种情况可以(IE和ActiveX启用)但它们不适用于99%的客户端配置。



服务器无法访问客户端硬件很好的理由:有太多的网站可以利用人们,如果他们可以访问硬件。此外,你甚至不能保证客户端计算机有任何文件夹的概念 - 它不一定是PC ...

如果你可以通过FTP完成,那么继续 - 但FTP通常很快,所以任何缓慢都可能是出于其他原因。我先看看那些。
Basically, you can't. There are a couple of circumstances when you can (IE and ActiveX enabled) but they do not apply in 99% of client configurations.

The Server cannot access Client hardware for good reasons: there are too many websites out there that would take advantage of people if they could access the hardware. Besides, you are not even guaranteed that the client computer has any concept of folders - it doesn't have to be a PC...
If you can do it via FTP, then continue with it - but FTP is normally pretty quick, so any slowness may be for other reasons. I'd look at those first.


这篇关于请帮助需要从网络服务器访问本地文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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