将源文件夹复制到目标 [英] copy source folder to destination

查看:81
本文介绍了将源文件夹复制到目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨伙计们,



i想要将文件夹从源文件复制到目的地。



文件上传控件在asp.net中只允许选择文件



i需要选择文件夹。



它是在asp.net中可以。



任何人都可以帮忙解决这个问题

hi guys,

i want to copy folder from source to destination.

the fileupload control in asp.net is allowed to select only files

i need to select the folder.

it is posible in asp.net.

anyone help to solve this

推荐答案

没有。

上传控件只能支持文件,因为客户端系统可能没有文件夹。

即使这样,安全也不会让服务器知道 - 甚至默认情况下 - 关于客户端环境的任何内容。

.NET V4.5 FileUpload控件允许用户选择多个文件: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.allowmultiple.aspx [ ^ ]
No.
The upload control can only support files, because the client system may not have folders.
Even if it does, security will not let the server know - even by default - anything about teh client environment.
The .NET V4.5 FileUpload control will allow the user to select multiple files though: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.allowmultiple.aspx[^]


这篇关于将源文件夹复制到目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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