Reputation: 336
I have a directory on a website that has no index.html or otherwise default home page. When I navigate to the site, the browser generates the default "index of /...." list of the files in the directory.
I want to keep the simple setup (i.e. no new homepage for the directory, just the default "index of/..." list generated by the browser), but I want to have an option to upload files to the directory (if possible?).
Perhaps an additional link next to the "Name, Last modified, Size, Description" links called "Upload" that can be used to upload a file to the directory.
Thanks! (Also, sorry if this is impossible/strange/etc)
Upvotes: 0
Views: 931
Reputation: 691
You can't do that in a manner that's worth it.
The best solution might be doing that index.php file and making it to mimic the default "Index of.." + your wanted functionalities.
Would this be good for a solution?
Also you could use this (or other PHP file manager) and leave only the upload and directory tree + files list on.
Edit:
Found this and it looks like it's exactly what you were looking for. You can add custom content to the default "Index of..." view.
Upvotes: 3