I need my asp.net web app to enable users to select a folder from the file system and a开发者_高级运维lso from network, to copy the content files to another folder.
I am not going to use javascript activeX.
Please help as to how to achieve this.
Thanks.
Use the FileUpload
control.
Here is a tutorial on how to use it.
The control uses an HTML input type="file"
, which uses the browser facilities for browsing files on the client machine (which, in turn, can use the facilities provided by the OS, such as a standard file browse dialog).
If you can buy stuff, check out www.telerik.com, they got some very nice controls, one especially for you : File Explorer.
精彩评论