mifi / ezshare

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

Uploaded Folders result loosing Folder Structure and renamed Files #76

Open capekasa opened 9 months ago

capekasa commented 9 months ago

When downloading a folder ezshare zips the contents automatically on the fly which is great. But this doesn't happen when uploading from a client (e.g. Firefox/Chrome on Mac OS to a Windows PC running ezshare). Instead the folder structure will be flattened, all files renamed thus rendering everything pretty much useless if filenames and folders matter. They do!

e.g. "Foldername/IMG_1234.JPG" results in the file "Foldername!IMG_1234.JPG"

Unclear if that

mifi commented 9 months ago

I think we need to implement support for detecting and recreating a deep folder structure on the server. did you drag-drop a folder or how did you produce this problem?

capekasa commented 9 months ago

Yes, I did drag&drop the folder. Is ezshare zipping at all during uploads?

mifi commented 9 months ago

Is ezshare zipping at all during uploads?

no