Folder Upload ASP.NET MVC - asp.net

I currently have a button which enables the user to choose 1 or more files but I would like to implement another button that functions as a folder upload.
The user selects a folder and all the files in the folder will be uploaded. Is this possible to do? I haven't been able to find any native solutions.

Related

Dynamic Creating folders inside folder constant like Share point or Google Drive in Next js

I'am newbie in next js, I trying to create project like Share point that i can create folders, inside a folder are able to create new folder or upload files and inside {this} folder are again able to create folder and upload files.
I can't find another similar scenario online
After clicking the folder (<a></a>) query new params in the url using router.push() without refreshing the page.
from share point

How to show Project folders in browser

I m working in asp.net. I have created folders in my project folder and I want this to show on browser so that when users click on folder name it lists down all the files residing inside that folder.
Below i am attaching a picture which is a perfect example of what I want to do.
I have never done anything like this so i want guidance for this.
By default, if you enable Directory Browsing in IIS, a user can view like this -
However, it is not what you want in ASP.Net Application. Instead, you need to create a page with GridView or other data bound control, and bind it with Data.
If you want too fancy, you want to go with Commercial Components like Telerik FileExplorer.

Uploading Multiple files and save it on folder

I have one web page in asp.net. In that I have put file upload button. When I click on that button, it opens the browser. I want that it should allow me to select Multiple files. When I select multiple files, I should be able to save them to some location.
Please guide me on this.
This is example of multiple file upload
http://www.aspdotnet-suresh.com/2012/12/aspnet-upload-multiple-files-using.html

Uploading files on ASP.Net

What I want is that the user on my website, can upload a .txt file(s) on my web space. I don't want the user to select the file, but the file is already selected. I want to achieve a 'back-up' function.
Thanks in advance.

Uploaded pictures not included in project

I have upload control on my asp.net page. I upload pictures in folder cars and they show in windows explorer when I open that folder (cars), but in Visual Sudio they act like they not include in project ( that is the reason why they don't show on image control which point to some of them. What did I make wrong ?
Uploading the images in the web application will never make any changes to your project. You will have to add them manually if you'll need them there. But generally these are pictures added by your user so the would just be in the file system - not really part of the solution, are they?
If you have choosen a webSITE then it will allow this, but not if a webPROJECT is selected.
I didn't find this on net, but I had two projects, and the one which was allowing me to show uploaded files was a website.
You have to click the refresh button at the top of the solution explorer in Visual Studio for it to show changes to the files.
You have to click Refresh button. Also ensure that "Show all files" icon is selected. And finally, you will have to right click on the files and select Include in Project. That way it would become part of your project.
If I may ask, what exactly are you trying to achieve in your application? The reason I ask is, if there is an upload happening in your application, you shouldn't need to include the files in your project to refer to it from code.

Resources