Live data from Hacker News

How to copy a file between devices? (2022)

grdw.nl

261–270 of 354 posts

Re: How to copy a file between devices? (2022)

#261

Earlier quoted context omitted.

>Download from my website? Some stupid browser will display the zip data onscreen. Are your customers using IE6 or something? Customers like that should be fired.

Oh no, I've seen Chrome and Firefox (with a well-conforming web server) loading zip files as if they're pages. The culprit? Intercepting HTTPS-breaking inspection. This is not just in enterprise environments, antivirus companies somehow even justified "HTTPS scanning" as a feature.

Oh, that's a thing.

When my workplace tried that, I just asked the CISO how they handle the bank credentials of the people that access their bank account at work. I never got an answer, but the system was gone a week later.

Re: How to copy a file between devices? (2022)

#262

Been using KDE Connect for years and it can do exactly that, along with clipboard sharing, SMS, and device notifications. https://kdeconnect.kde.org/

I really wish this was the One True Way, but unfortunately I couldn't get this working. Installed fine but then, nothing.

On Linux I also needed to adapt the firewall rules to allow it.

Re: How to copy a file between devices? (2022)

#264
TailScale sends cross-platform. Or just self host Nextcloud and have that on all systems. Look at Nextcloud AIO. So easy. I use both. This is a solved issue for the most part. Also solves the file sending to others, as well as file requests.

Now, universal cross-platform copy/paste? Ha. I’d love that solved!

Re: How to copy a file between devices? (2022)

#266
post #246

It's insane to me that this is a frustration I've had back maybe 20 years now and I still feel like there isn't a particularly great solution. My current iteration is just a "transfer" SyncThing folder that is on all my devices. It's not clean or convenient but at least its incredibly fast.

It is purely because of the lack of static addressing. Probably an entire country's GDP-worth of SaaS products are essentially nothing more than providing basically a proxy to other devices that have to have apps installed to speak their special language. If I knew your computer's address (and it didn't change) and you knew mine, we could route traffic through the infrastructure we already pay for.

IPv6.

Re: How to copy a file between devices? (2022)

#267

I was forced to go digging for a solution that supported Mac, iOS, Android and Windows. Localsend is available through the app stores and on github. I haven't had much occasion to use it yet, but here's another to add to your lists: https://github.com/localsend/localsend

Localsend works really well so far, no issues with device discovery. I use it within our (heavily firewalled) intranet for offline file transfers between machines; particularly where you can't just scp something.

Re: How to copy a file between devices? (2022)

#268

Earlier quoted context omitted.

in the mid 90s i worked in a machine shop that had a side business where they had catalogs. They were trying to send .TIFF files over 14.4 or 28.8 modems. TIFF files over 10MB, so no floppy (easily.) No CD-R, Jazz/zip. These days in the same circumstance as you (and they) had, i'd fedex them a USB stick, or optical disc, depending. Because the first time someone said "the web page you linked is just displaying garbag…

As was pointed out in a cousin comment, it's not necessarily the browser or the webserver configuration. SSL proxies -- corporate middleware -- have a habit of breaking this way, by stripping the content-disposition field or similar.

It would have to be mangling both the Content-Disposition and Content-Type headers.

If that's really happening (I have my doubts) and that's a client you want to continue supporting, then the next step would be limiting yourself to SingleFileZ-style ZIP payloads that can be as text/html.

Re: How to copy a file between devices? (2022)

#269
Well, you either transfer it directly from A to B using a protocol that both ends support such as Kermit (what we used to use back in the day for copying files from bulletin boards using modems), or FTP, or SMTP (yeah, e-mail attachments), or via some intermediatory server or device such as Google Drive or a USB stick (floppy disk).

I guess nowadays the only files that most non-techies care about are photos and videos on their phones, so solutions specific to those work, or indeed the ubiquitous e-mail attachments.

Re: How to copy a file between devices? (2022)

#270

I have gotten a lot of use out of croc. https://github.com/schollz/croc F-droid has an android app and the cli runs on Linux, Mac, and Windows. Super pain free. It's not a synchronization solution, but sends stuff pretty easily.

This. croc is like a better magic-wormhole (available via python pip, apt, other package managers) I switched to croc after transferring large files over terrible wi-fi. No way to resume a failed magic-wormhole session, whereas croc does it automatically.
Post reply on HN