trebleshot / android

An open-source app that allows you to transfer files one to one securely or using a browser, all without the internet
GNU General Public License v2.0
144 stars 42 forks source link

Keep Directory Structure in Webshare Single Zip Feature #170

Open mubashir-rehman opened 3 years ago

mubashir-rehman commented 3 years ago

Describe the bug File Structure messes up when different files from different directories are sent via webshare. then downloaded as a signle uncompressed zip file.

To Reproduce Steps to reproduce the behavior:

  1. Select multiple files from multiple directories
  2. share via webshare
  3. open link of webshare
  4. click downlaod as single uncompressed zip file
  5. download will begin
  6. unzip the downloaded file
  7. low and behold: structure of files is messed up

Expected behavior files and directory structure should remain after unzip

Log files I am lazy.

Screenshots image image image this might contain sensitive stuff like my fetishes. So, kindly edit my post after fixing the issue.

Environment (please complete the following information):

Additional Info Directory names get appended at back of file names.