Live data from Hacker News

How to copy a file between devices? (2022)

grdw.nl

21–30 of 354 posts

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

#22
post #15

I understand why AirDrop doesn't get full ticks here, but I have to say it has saved me hundreds of hours over the last few years transferring literally anything from phone(s) laptop(s) laptop(s) phones(s) at the drop of a hat. I would not be happy if I had to give it up.

If you have an iPhone and a Mac signed into the same iCloud account you can literally just copy to the clipboard on one device and paste on the other.

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

#23

Isn’t https://wormhole.app/ the solution here? Note I haven’t used it, it’s just often brought up here as a good solution for this class of problem. Is it surprising that the author mentions a ton of solutions but not this one? I would think a deep dive of file sending applications would include this, it’s old enough and well known enough in circles that its exclusion in a comparison of file sending approaches does f…

Here is a list of open source options. This isn't the first time I have shared this on here either. Perhaps this is another sign that web search is failing us. SnapDrop - Site: https://snapdrop.net/ - Source: https://github.com/RobinLinus/snapdrop ShareDrop - Site: https://www.sharedrop.io/ - Source: https://github.com/szimek/sharedrop FilePizza - Site: https://file.pizza/ - Source: https://github.com/kern/filepizza…

I've tried using Wormhole and Filepizza from two devices on my network (a MacOS laptop and a Windows PC) and they just don't work for me. I assume the others use the same approach, and would probably also not work. I'm sure there's some setting I could change on my home network to make them work, but I think the point of the article is that we're looking for a way that a) just works, b) across platforms, c) even if you're a dummy like me.

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

#24
post #4

[flagged]

The OP talks about transferring from a PC to a phone (and vice versa). I have no idea how to use scp on my phone or how to move a file from my PC to my phone with scp. Honestly, if you can teach me how to do that in less than a minute, I would (no sarcasm) really appreciate it.

Once I found Termux i use SSHelper less often, using scp and later rsync on either. But I'm on Android...

SSHelper will tell give you a GUI where you configure optional password and get the IP and port. Then scp is -P @:

  scp -P22222 myfile anyuser@192.168.1.10:/data/user/0/com.arachnoid.sshelper/SDCard/.
where the only trick part is how Android managed storage, but it's just more letters (/data/user/0/com.arachnoid.sshelper/SDCard/).

Once I found Termux I embraced it since it's a nifty linux thing straight on my phone with it's own configurable sshd and it's exactly the same as above except with a different path and lots more options.

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

#27
post #8

Most people should run a static HTTP/1.1 webserver (after port forwarding 80) on their home PC so they can dump files into a directory to share them by sending the http://your.ip.address.here/directory/ link via email or whatever. When you use directories and files your OS itself is the natural interface and everything just works.

Protip: if you have python installed you can just run

python3 -m http.server 8080

to launch a web server in the current directory on port 8080.

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

#30
post #8

Most people should run a static HTTP/1.1 webserver (after port forwarding 80) on their home PC so they can dump files into a directory to share them by sending the http://your.ip.address.here/directory/ link via email or whatever. When you use directories and files your OS itself is the natural interface and everything just works.

No, they shouldn't.
Post reply on HN