angular-filemanager
angular-filemanager copied to clipboard
"Invalid Path" error when uploading files to filemanager.py
Using python tornado server, files are listing correctly - but uploading returns an "Invalid Path" error, I can't figure it out. Anyone else seen this?

I got the same problem (in Python 2.7+). The issue is that "/src/js/enties" should not start with a slash because os.path.join() acts weird when there is one part starting with a slash. For fix it, into the function upload(), I added:
destination = handler.get_body_argument('destination', default='/')[1:]
I created a pull request for that #340.