自动将文件从客户端复制到服务器. [英] Automatically copying a file from client to server.

查看:61
本文介绍了自动将文件从客户端复制到服务器.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在不使用文件上传控件的情况下将文件从客户端PC的指定位置复制到服务器.实际上,在Web应用程序中,该文件将在客户端PC的C:\\驱动器上创建,并且一旦客户端打开我的网站,我想自动将该文件上传到服务器(不使用文件上传控件).

I want to copy the file from client''s PC''s specified location to server without using file upload control. Actually in the web application the file will be created on client''s PC''s C:\\ drive and as soon as the client opens my website i want to automatically upload that file to server(without using file upload control).

推荐答案

您不能使用标准网站-安全性将不允许您在没有他直接干预的情况下访问任何用户文件.
You can''t, with a standard website - security will not allow you access to any of the users files without his direct intervention.


您无法访问任何Web应用程序中的客户端文件.
You can''t access client''s any of files in any of web application.


这篇关于自动将文件从客户端复制到服务器.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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