mifi / ezshare

Easily share files, folders and clipboard over LAN - Like Google Drive but without internet
MIT License
626 stars 45 forks source link

Make uploads post to the currently browsed directory #79

Closed jcorks closed 1 month ago

jcorks commented 10 months ago

Hello! Love this project.; really thankful that it exists, as it was EXACTLY what I was looking for.

When I first deployed it, I was surprised that uploading only places the file in the root directory and not the browsed directory. I made a small change to have uploads go to the currently browsed directory instead.

To make the using of the browsing directory common to both uploads and downloads more obvious, the Download Files and Upload Files sections on the frontend were merged as well. Don't know if that's "too bold" of a change, but I thought I'd add it and leave it up to you whether this change is for the better.

mifi commented 1 month ago

thanks, i agree. i have done somelarge refactoring so had to do it in a separate commit