Nate Pet
Nate Pet

Reputation: 46222

MVC folder chooser

I am using c# ASP.NET MVC with the razor engine.

I have done a file chooser but what I need to do next is a folder chooser. Once the user chooses the folder, I need to go and get all the files in that folder and do some processing Please let me know if you have done a folder chooser.

Upvotes: 0

Views: 1241

Answers (1)

Alexei Levenkov
Alexei Levenkov

Reputation: 100527

There is no way to do it in ASP.Net/MVC, or any other technology using just HTML/JavaScript in browser: HTML does not provide ability to browse folder on client nor upload all files from given folder.

You need some sort of full trusted client side code to do so.

Upvotes: 1

Related Questions