本文介绍了在 Flash 或 Silverlight 的 ASP.NET 中上传文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有什么办法可以在asp.net中上传整个文件夹(一个文件夹)?

Is there any way to upload entire folder (a folder) in asp.net?

有什么办法可以在 Flash 或 Silverlight 中上传吗?

Is there any way to upload in Flash or Silverlight?

推荐答案

您可以使用 Flash(也可能是 Silverlight)选择文件夹中的所有文件进行上传,但是您不能选择文件夹或递归文件夹.

You can use Flash (and probably Silverlight) to select all the files in a folder to upload, however you cannot select a folder or recurse folders.

这是一个使用 flash 作为视觉前端的例子:http://www.codeproject.com/KB/aspnet/FlashUpload.aspx

Here is an exmaple that uses flash as the visual front end:http://www.codeproject.com/KB/aspnet/FlashUpload.aspx

这是一个使用 Flash 上传多个文件的示例,使用 JQuery 进行视觉效果:http://www.uploadify.com/demo/

Here is an example that uses flash for the multiple file upload by uses JQuery for the visuals:http://www.uploadify.com/demo/

为了实现选择文件夹,您需要构建一个对操作系统有更多控制权的 ActiveX 控件或 Java Applet.

In order to achieve selecting folders you will need to build an ActiveX control or Java Applet which has a lot more control over the operating system.

这篇关于在 Flash 或 Silverlight 的 ASP.NET 中上传文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 18:25