LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2011, 10:21 AM   #1
velouria
Member
 
Registered: May 2008
Posts: 57

Rep: Reputation: 15
file transfer pc to pc


hey guys,

i was wondering if there's a way to transfer files from one pc to another using a network cable or something
 
Old 04-24-2011, 10:26 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Of course there is, that's one of the basics of networking, communication between systems. If you have both connected to the same hub/switch/router then you can copy files over from one to another in various ways. If you don't have them connected that way then you can use a cross-over network cable to connect one to the other, configure an IP in the same range and transfer your files for example with scp. Tell us some more about how your network is set up, if you have both computers in the same network, ...

Kind regards,

Eric
 
Old 04-24-2011, 10:29 AM   #3
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@ Reply

Can you please elaborate as to what you are trying to do.

There are many ways by which you can transfer files from one system to another but which way you are looking for?

Also which OS?
 
Old 04-24-2011, 11:47 AM   #4
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
yeah, it really depends on what OS you're using, but the first thing that came to mind was a crossover. or if you dont have one or dont have the tools to make one, you can always go old school and use a thumb driver, usb drive, burn a dvd, etc.

do you want to directly attach the computers together, or are they on the same network already? need some details as to the environment.
 
Old 04-24-2011, 12:36 PM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
hey velouria!

Okay, easy answer: yes. As stated before, this is trivial.

Awkward answer: you need to get into networking...

Big(ger) answer:

The two PC's need to have a network card. If they're somewhat modern, that'll not be an issue. There are two ways, either these two are to be joined in a network for a longer time, or just this once to beep things over.
In the latter case, you need a twisted network cable, because you're connecting two PC's directly to each other. There's no "switch port" hence, the special cable - usually marked in yellow. Both PC's need a unique IP address, of a similar make-up. Addresses 192.168.1.1 and 192.168.1.2 will do, 192.168.1.2 and 192.168.10.1 will not work. Check that: 192.168.1.x, where x can be anything between 1 and 255. Set that up, connect and go. Depending on the OS you're using, there may be a setting or two.
On the other hand, if the PC's share a network, all the rest applies, except for the cables, there straight, and you'll need a switch to hook 'em up. Also, you may need to set up an FTP server...
But, the cables are the key here
A comprehensive read lies ahead, but it's ever so educational...

Of course, if it really is a one-time thing...use a USB stick that's what I'd do...

Thor
 
Old 04-24-2011, 01:05 PM   #6
wpeckham
Senior Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,660

Rep: Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584
USB network

;-) For quick availability, sneakernet is hard to beat.
 
Old 04-24-2011, 03:12 PM   #7
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
;-) For quick availability, sneakernet is hard to beat.
Ya got that right!
 
Old 04-29-2011, 06:16 AM   #8
velouria
Member
 
Registered: May 2008
Posts: 57

Original Poster
Rep: Reputation: 15
hey guys thanks you all

i wanted file transfer without sftp, no upload no download only some kind of copy paste
 
Old 04-29-2011, 07:38 AM   #9
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@ Reply

Hi there,

In Linux you can go with nfs, samba or scp to copy over the files from one system to another system.

In windows you can go with simple file sharing that is creating a shared folder and then copying into it or copying from it.
 
Old 04-29-2011, 12:16 PM   #10
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
i wanted file transfer without sftp, no upload no download only some kind of copy paste
Well? Use a USB stick, I do that all the time if it's a system that's not in my network (i.e. someone elses Linux box)

Sneakernet...the best option for you, I guess

Thor
 
Old 04-29-2011, 01:57 PM   #11
velouria
Member
 
Registered: May 2008
Posts: 57

Original Poster
Rep: Reputation: 15
well i wanted exactly not to use a usb drive...
 
Old 04-29-2011, 02:07 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Quote:
well i wanted exactly not to use a usb drive...
The answer is in post 9 above. You don't indicate what you have on your computer(s) for operating systems. Linux only, use nfs. Linux to window and vice versa, use samba. There are multitudes of tutorials about both on the internet.
 
Old 04-29-2011, 02:22 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,961

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Need to provide some more information. What distribution / version of linux are you running? Is this with windows and linux or two linux PCs.etc etc.

Copy & paste is just the "front end" to the means. As already stated the actual transfer process requires a communication protocol like i.e. samba, nfs, ftp, sftp etc. Some linux file browsers have samba and sftp clients built in.
 
Old 05-05-2011, 05:52 AM   #14
peter1234
Member
 
Registered: Apr 2009
Posts: 42

Rep: Reputation: 2
Hi velouria,

Quote:
hey guys,

i was wondering if there's a way to transfer files from one pc to another using a network cable or something
sure there are

1)"using a network cable":

a)10 and 100mbps (NICs)
i)pc <-----> hub/switch <------> pc [ use straight cables]
ii)pc <-----> pc [ use cross over cable ]

b)1Gbps (NICs)
i)pc <-----> hub/switch <------> pc [ use straight cables]
ii)pc <-----> pc [ CAN USE STRAIGHT CABLE !! ] (since 1Gbps NICs can self cross over, so no need for a cross over cable)

c)you can use firewire networking

d)you can use usb networking

e)LPT cable


2)"or something"

a)copy your data to a cd/dvd ......

b)attach a 2ndHDD to pc1 copy data to 2ndHDD then attach 2ndHDD to pc2 .....

c)Ext SATA ......

d)Tape drive .......

e)If both PCs have sd/cf card slots .....

f)If your data is very small you can even use a 1.44 floppy


If you were to let us know you OS 2PCs and what type of cable, NICs , hub/switch you have and if your are ok
with setting things up we will bw able to help you better......
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony PSP file transfer inaccurate transfer progress stratotak Linux - Newbie 3 01-02-2010 04:49 AM
file time stamp is wrong with ssh file transfer cy163 Linux - Newbie 8 05-18-2008 02:40 AM
Gnome/Nautilus issues Beagle-Tracker, file transfer info, replace file info, popup. Mysticle31 Linux - Software 0 01-08-2008 06:30 PM
transfer dvds from ogg file to vod file kingfish217217 Linux - Software 3 02-19-2007 07:19 PM
File Transfer thereeper Linux - Software 2 05-17-2005 06:26 PM


All times are GMT -5. The time now is 01:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration