LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how Do I transfer files between two Linux PCs on same network? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-transfer-files-between-two-linux-pcs-on-same-network-4175493373/)

Shadowmeph 02-01-2014 01:22 PM

how Do I transfer files between two Linux PCs on same network?
 
I am trying to transfer files from my Linux laptop to both my linux PC and also my aios media player ( which seems to be sometype of linuxon it)that I need to transfer files to and from but I am not sure which linux software I need to do this.
Ideally I would like to be able to use my Laptop to download and save it on my other linux PC or medi player.
If I look on the network I don't see either my other Linux PC or media player .

acid_kewpie 02-01-2014 01:32 PM

This really isn't about a Linux to Linux transfer. You should actually read the vendor documentation for the media player. Whilst it might run Linux, it's rarely appropriate to treat it as a linux server. There appears to be all sorts of info available if you look - http://support.pivosforums.com/article/13218/21114/[GUIDE-AIOS]-Access-FTP

schneidz 02-01-2014 01:34 PM

if the device supports it i would use ssh with keys (which runs on the same protocol as scp/sftp/sshfs).

The_Real_Contra 02-01-2014 02:14 PM

dude, easiest way is to put both HDD in the same machine and do it like that, unless this is a usual transfer thing...

273 02-01-2014 02:29 PM

I always run an SSH server on my desktop so that I can access its files on my netbook. Once I've set up keys so there's no password I can just either scp or use Thunar (the file manager in XFCE) to transfer files between them. Of course this means that I can only initiate transfers on my netbook as the PC runs the server but it suits my needs and is fairly straightforward and secure.

TroN-0074 02-01-2014 02:29 PM

Create a share on the desktop, then browse it from your laptop. You didnt mentioned what OS you have other than Linux. Each distro does it differently. In OpenSUSE you can do that through YaST.

Shadowmeph 02-01-2014 03:01 PM

well I have files on my laptop ( opensuse)which is linux that I want to be able to transfer to my PC which is using linux mint .
the thing is I cannot see any of them on my network to do this.
on my windows gaming PC I can see my media player so I just drag and drop the files to it isn't there something like that for linux?
like how to see other network connected devices so that I can transfer files and do backups to other machines

Shadowmeph 02-01-2014 03:32 PM

ok so I am trying remote desktop sharing from my laptop ( opensuse) to my PC (linuxmint)I can ping my desktop using network tools but I cannot connect it asks for a password I type in the password but I get permission denied,
so to see if it works at all I turned off the pass word and tryied it with out a password same thing, wha tam I doing wrong?

btmiller 02-01-2014 03:33 PM

Linux as a general rule does not do quite as much work as Windows in setting things up for you. As TroN-0074 stated, you can set up shares (either NFS or CIFS) on your desktop or laptop and then mount those shares on the other device. If your media player presents a CIFS share on the network, you can mount it in the same way.

If you just want to do occasional transfers of back-up files, I'd recommend just using scp.

Edit: I just saw your last post. You need to provide a few more details. I presume desktop sharing is using VNC, which is not at all the same as file sharing. You should have picked out a password when you enavled VNC, and you would use thar when trying to connect to the VNC server.

Shadowmeph 02-01-2014 03:41 PM

ok so which is the easiest and lease hassle to use ?
when it comes to moving files ( mostly media files) around on linux I am totally lost

schneidz 02-01-2014 03:54 PM

e.g.:
Code:

[schneidz@hyper Videos]$ scp athf-87-last-last-one-forever-and-ever.avi schneidz@xbmc:Videos
athf-87-last-last-one-forever-and-ever.avi                                                    23%  22MB  4.3MB/s  00:16 ETA

if you dont like command-line i would install sshfs and mount the remote directory onto a local directory.
e.g.:
Code:

[schneidz@hyper ~]$ mkdir xbmc-dir
[schneidz@hyper ~]$ sshfs schneidz@xbmc:/home/schneidz/Videos xbmc-dir
[schneidz@hyper ~]$ ll xbmc-dir/
total 94476
-rw-rw-r--. 1 1000 1000 96741192 Feb  1 16:54 athf-87-last-last-one-forever-and-ever.avi

then you can put this in your fstab or ~.bash_profile so it automounts when you login and you can use the file navigator (nautilus ?) to browse the remote files as if they were local.

nfs is also an option but in my opinion more complex.

Ryanms3030 02-01-2014 04:00 PM

You could create a samba share. That's what I did and I can access the filter from any computer on my network. Samba will work with windows too

Shadowmeph 02-01-2014 04:00 PM

Quote:

Originally Posted by acid_kewpie (Post 5109341)
This really isn't about a Linux to Linux transfer. You should actually read the vendor documentation for the media player. Whilst it might run Linux, it's rarely appropriate to treat it as a linux server. There appears to be all sorts of info available if you look - http://support.pivosforums.com/article/13218/21114/[GUIDE-AIOS]-Access-FTP

That is the first thing I did whe nI setup the media player 2 years ago but I cannot see it either linux distros but my windows gaming pc sees it.

Shadowmeph 02-01-2014 04:12 PM

hmm so I installed sshfs but I am not sure where it is and how t oload it up, dam linux networking is so anoying to me right now .

schneidz 02-01-2014 04:14 PM

Quote:

Originally Posted by Ryanms3030 (Post 5109394)
You could create a samba share. That's what I did and I can access the filter from any computer on my network. Samba will work with windows too

good point. sshfshas the benefit of being able to mount across networks. i enable forwarding port 22 on my router at home. and i go on vacation to florida and i am able to stream movies on my parents tv.


All times are GMT -5. The time now is 10:47 AM.