solo2500
Posts: 123
Joined: Sat Jul 09, 2016 12:38 am

File transfer from remote location?

Thu Aug 18, 2016 4:59 pm

What is the easiest way to transfer a file from my Rpi (at my home) to my laptop located on the other side of the world. I have ssh and VCN connectivity but I need to move a few large data files?
I'm a total novice, non-programer (...basically a hack.)

User avatar
bensimmo
Posts: 4626
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: File transfer from remote location?

Thu Aug 18, 2016 5:18 pm

Which one are you at Pi or laptop?

Will any of these work for you?
https://www.raspberrypi.org/documentati ... te-access/

solo2500
Posts: 123
Joined: Sat Jul 09, 2016 12:38 am

Re: File transfer from remote location?

Fri Aug 19, 2016 12:48 am

bensimmo wrote:Which one are you at Pi or laptop?

Will any of these work for you?
https://www.raspberrypi.org/documentati ... te-access/
From Pi to laptop... I'm at laptop
I'm a total novice, non-programer (...basically a hack.)

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: File transfer from remote location?

Fri Aug 19, 2016 2:17 am

solo2500 wrote:
bensimmo wrote:Which one are you at Pi or laptop?

Will any of these work for you?
https://www.raspberrypi.org/documentati ... te-access/
From Pi to laptop... I'm at laptop
If it's for infrequent transfers, use WinSCP. I'm assuming your laptop is running some version of windows; but you didn't state what it's running (that's why it's importat to post all relevant details) so that might not be appropriate.

solo2500
Posts: 123
Joined: Sat Jul 09, 2016 12:38 am

Re: File transfer from remote location?

Fri Aug 19, 2016 4:54 pm

asandford wrote:
solo2500 wrote:
bensimmo wrote:Which one are you at Pi or laptop?

Will any of these work for you?
https://www.raspberrypi.org/documentati ... te-access/
From Pi to laptop... I'm at laptop
If it's for infrequent transfers, use WinSCP. I'm assuming your laptop is running some version of windows; but you didn't state what it's running (that's why it's importat to post all relevant details) so that might not be appropriate.
Sorry for the incomplete information. I'm using a Rp3b with latest image of Raspbian. For the time being the file transfers will be infrequent but may someday be daily. My laptop is a new (relatively) windows machine running 8.1
It looks like SCP runs on the local network (where I use simba and the built in windows file explorer which works fine) but I want access from outside my local network. I have looked into port forwarding but my router/isp makes things wildly complicated (if not impossible!)
Thanks for any suggestion!!!
I'm a total novice, non-programer (...basically a hack.)

epoch1970
Posts: 5132
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: File transfer from remote location?

Fri Aug 19, 2016 5:04 pm

What about syncthing.net ?
It's a self hosted Dropbox solution. Works on a variety of platforms (including Pi of course).
I don't use that but I think the public relay feature will give you the firewall-piercing capability you need.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

User avatar
bensimmo
Posts: 4626
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: File transfer from remote location?

Fri Aug 19, 2016 5:22 pm

If firewalls are a problem I would personally have it upload its files to some cloud service, be it dropbox, one drive, google drive etc.
Then you can access or sync that to whichever machine you want.

Of course you don't have real time access to the files, but nothing to stop you SSHing in and uploading or using some of the transfer methods given before, ( another not on it https://help.ubuntu.com/community/SSH/TransferFiles )

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: File transfer from remote location?

Fri Aug 19, 2016 6:18 pm

solo2500 wrote: It looks like SCP runs on the local network (where I use simba and the built in windows file explorer which works fine) but I want access from outside my local network. I have looked into port forwarding but my router/isp makes things wildly complicated (if not impossible!)
If you've got SSH access to the Pi then winscp will work, scp and sftp use the same connection setup as ssh so use the same details as you use for SSH

Before looking at port forwarding ensure the things your opening up are secure. SSH can be relatively secure (as long as you've changed the password, and ideally switch to key based authentication, alternative ssh port etc). Other services VNC, Samba/CIFS, FTP may not be as secure (password data is often sent un-encrypted)

Return to “Beginners”