Live data from Hacker News

Direct file transfer via browser with no server involvement

cend.me

71–80 of 134 posts

Re: Direct file transfer via browser with no server involvement

#71
post #62

Earlier quoted context omitted.

FYI you can even text yourself on WhatsApp without needing a group

I tried looking for it. but i couldn't find how to do it. how does one do that?

"Click to Chat" in play store.

"Whatsapp Dialer" in app store.

Or clicking on this link (replace example phone # with your phone number):

wa.me/17861234567

1 is US's country code. 786 is Miami's / Operator code 1234567 is the phone number

Re: Direct file transfer via browser with no server involvement

#73

Earlier quoted context omitted.

I do the same, and I think it's sad that this is the best we can do in 2021 :)

It's even more worse in the mobile world. I would share a lot of pictures after two weeks holiday with somebody who has an Iphone. I have an Android phone. There is not way to transfer pictures direct from Android to Iphone (holiday location != flat rate). WTF 2021.

Use an app like https://www.lonelycatgames.com/docs/xplore/wifi-share over the local wifi (or make the android a hotspot to connect directly) ?

Re: Direct file transfer via browser with no server involvement

#74

Earlier quoted context omitted.

Not supporting HTTPS together with falsely claiming "no server involvement" when everything happens via the server makes me think this is a honeypot or something like that.

If there is no server involvement, how could there be HTTPS, which by definition requires some trust in the server?

The web page must be served from somewhere, even if the server it came from really wasn't involved in file transfers. It would be nice to have HTTPS for the client to rule out MITM attacks or the like.

Re: Direct file transfer via browser with no server involvement

#75

Why would anyone use this service when you can just transfer files by temporarely opening a TCP port and starting a netcat listener that you pipe into the file you want? It's as simple as nc -lvnp 1234 > myfile.txt The other party then only needs to pipe the file into a netcat socket from their commandline. nc -w 3 IP Jokes aside I'm intrigued at the "no server involvement". I'm assuming they mean the file isn't tran…

Those are not a pipes though, they're redirections. This common mistake surely means your expertise on this matter is lacking and therefor your opinion is worthless.

Re: Direct file transfer via browser with no server involvement

#76
post #15

Used to use sharedrop.io but found the “saved messages” option in Telegram is just the most zero friction option for mobile desktop transfers.

Yeah I do this with files/links/notes/numbers on Signal, where I have myself pinned to the top (Signal calls yourself "Note to Self" in the chat list).

Re: Direct file transfer via browser with no server involvement

#77
post #74

Earlier quoted context omitted.

If there is no server involvement, how could there be HTTPS, which by definition requires some trust in the server?

The web page must be served from somewhere, even if the server it came from really wasn't involved in file transfers. It would be nice to have HTTPS for the client to rule out MITM attacks or the like.

The client can be sent encryption keys, generated by the server, and use them for P2P encryption, so the MITM can be avoided.

Re: Direct file transfer via browser with no server involvement

#78
post #62

Earlier quoted context omitted.

I tried looking for it. but i couldn't find how to do it. how does one do that?

"Click to Chat" in play store. "Whatsapp Dialer" in app store. Or clicking on this link (replace example phone # with your phone number): wa.me/17861234567 1 is US's country code. 786 is Miami's / Operator code 1234567 is the phone number

This seems incredibly clunky compared to Signal where you by design can message yourself without any hassle (and you're called "Note to Self" in the chat list).

Re: Direct file transfer via browser with no server involvement

#79

Earlier quoted context omitted.

I do the same, and I think it's sad that this is the best we can do in 2021 :)

Yes, today it's much harder to transfer files in a local network without using cloud (or external coordinator), for some reason.

Back in the early '2000s we had two home PCs with Windows (98 and 2000/XP), it was a breeze (relatively) to make the two PCs see each other in the LAN, using the legacy workgroup + shared folder/drive letters.

of course security was near nonexistent, but it was home LAN, and convenience trumped all.

Nowadays I have NO idea if I could do a similar setup with Windows 10 without resorting to the cloud

Re: Direct file transfer via browser with no server involvement

#80

Minified and obfuscated so it's hard to tell what's going on in this but it looks like it uses WebRTC to do peer-to-peer transfers, with the aid of a STUN server to establish the initial connection.

Here you have a somewhat unminified/reverse-engineered source: https://pastebin.com/NzP3KMKy Some of the variables are harder to infer what they mean though, so it's incomplete.

Nice. What did you use to generate this? How much of the work was manual?
Post reply on HN