NaitLee / PHFS

This is a Python3 implementation of rejetto's HTTP File Server~*
GNU General Public License v3.0
16 stars 4 forks source link

Cannot make new folder, upload allowed #3

Closed TheCodeingPadawan closed 3 years ago

TheCodeingPadawan commented 3 years ago

When trying to make a new folder in the web interface for a directory that is in the upload_allowed_paths, the following error occurs in the browser.

~lib.js:156 Uncaught TypeError: Cannot read property 'focus' of null ~lib.js:99 POST http://localhost:8090/uploads/?mode=section&id=ajax.mkdir 404 (NOT FOUND)

I'm guessing this is not meant to happen?

NaitLee commented 3 years ago

Technology explained, in HFS, "make new folder" is not a part of "upload" feature.

When click on "New Folder", what happened is:

Since this project is WIP, the "mode=section" is not implemented yet, and making folder will fail.

If you want anything to be implemented with high priority, just say, I will do it 😃

Thanks for contribution! 🎉

NaitLee commented 3 years ago

This commit solved this issue, so it can be closed now ;)