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
147 stars 42 forks source link

Share via Browser: allow multiple file / folder upload #137

Open apfelchips opened 4 years ago

apfelchips commented 4 years ago

Is your feature request related to a problem? Please describe. Currently you can't upload multiple files / folders on the HTTP share provided by TrebleShot. Since TrebleShot is currently only available on android sharing files to other platforms is difficult / cumbersome.

Describe the solution you'd like Allow uploading of multiple files from the HTML-input form and handle multiple files.

Describe alternatives you've considered Implement the new HTML5 drag&drop / folder upload api and have input-form as a backup for legacy clients.

Additional context example folder upload implementation: https://stackoverflow.com/a/53058574 NanoHTTPD supports multi file/part upload: https://github.com/NanoHttpd/nanohttpd/blob/master/fileupload/src/test/java/org/nanohttpd/junit/fileupload/TestNanoFileUpLoad.java#L182

velitasali commented 4 years ago

This is something I was thinking of, but this needs improvement on the web share interface, which is a low-priority task on my to-do list.

mubashir-rehman commented 3 years ago

this might have been fixed with latest commit. i think.

velitasali commented 3 years ago

Nope. This needs some js to work. I have some ideas on how I should do it, but for now, it needs to wait.

jerryn70 commented 3 years ago

@velitasali curently we can receive files from other device that dont have trebleshot installed via the share via browser option. But how can i sent files to other device that dont have trebleshot installed ? Anything im missing or is it not possible ?

mubashir-rehman commented 3 years ago

@jerryn70 you can share the files using the same feature from trebleshot. just select the files and 1)click in 🌐 on version 2.0 2)cick send button and then select share on browser o n version 1.4.4

jerryn70 commented 3 years ago

@mubashir-rehman yes got it thank you. BTW why its showing wi-fi and vpn server ? 2 options with different url .

Wifi is for local hotspot connection and vpn server is to send device that are connected to the same network ? is it?