Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

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[^]
 
Share this answer
 
Comments
sankmahesh 24-Oct-13 5:16am    
thanks,

i need browse folder dialog

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900