Transfer Files btw Boxes

Transfer Files btw Boxes

Post by Metnetsk » Tue, 10 Dec 2002 14:57:28



Aside from setting up an ftp server on one of these two machines, what would
be the best way to transfer files back and forth between linux boxes?  I'm
running Red Hat 8 as my distro.  

Thanks in advance,

~ Matthew

 
 
 

Transfer Files btw Boxes

Post by Bill Marcu » Tue, 10 Dec 2002 15:05:19


On Mon, 09 Dec 2002 00:57:28 -0500,

Quote:> Aside from setting up an ftp server on one of these two machines, what would
> be the best way to transfer files back and forth between linux boxes?  I'm
> running Red Hat 8 as my distro.  

NFS.

 
 
 

Transfer Files btw Boxes

Post by Sybren Stuve » Tue, 10 Dec 2002 18:19:31



> Aside from setting up an ftp server on one of these two machines, what
> would be the best way to transfer files back and forth between linux
> boxes?

sftp or scp

Sybren
--

Quote:>>> RUNNING A MICROSOFT GAME USING WINE <<<


INSTR_IDT_Emulate Evil attempt to exploit win9x system security flaws detected
INSTR_IDT_Emulate UNIX system security is too strong, can't emulate properly
 
 
 

Transfer Files btw Boxes

Post by Robert E A Harv » Thu, 12 Dec 2002 00:54:56



> Aside from setting up an ftp server on one of these two machines, what would
> be the best way to transfer files back and forth between linux boxes?  I'm
> running Red Hat 8 as my distro.  

loads of ways.
if you want a permenant connection and they are on the same network,
then it's probably simplest to use NFS: one machine "exports" some
subdirectory, and on the other you mount the external drive on a
normal mount point.

man NFS is helpful.

or you can use rcp for a one-off transfer    man rcp  

If they are physically remote, and on different networks, there is not
much wrong with ftp except the data is not encrypted.  there are
various secure versions, such as sftp

You can alos 'tunnel' nfs through a ssh secure connection if you want
ot start getting fancy...

 
 
 

Transfer Files btw Boxes

Post by Metnetsk » Thu, 12 Dec 2002 02:55:50



> On Mon, 09 Dec 2002 00:57:28 -0500,

>> Aside from setting up an ftp server on one of these two machines, what
>> would
>> be the best way to transfer files back and forth between linux boxes?
>> I'm running Red Hat 8 as my distro.

> NFS.

Thanks a lot, NFS would appear to fit better than anything I thought of.

~ Matthew

 
 
 

Transfer Files btw Boxes

Post by Javier Isas » Thu, 12 Dec 2002 06:02:57



> Aside from setting up an ftp server on one of these two machines, what would
> be the best way to transfer files back and forth between linux boxes?  I'm
> running Red Hat 8 as my distro.  

> Thanks in advance,

> ~ Matthew

Depends on how far those files must travel.
If the two parties share an ethernet network (LAN) NFS is the one to
pick.
If the two parties share some secure area with multiple subnets FTP is
needed.
If you don't know who own the wire and the air between the two linux
boxes
(lets say tranfer files between your workplace and your home) then
SFTP is the best choice IMHO, of course.

cheers. Javier.

 
 
 

Transfer Files btw Boxes

Post by John Stur » Fri, 13 Dec 2002 11:18:09


You could use a floppy or cdrom or serial PPP connection but really ftp is
good.


Quote:> Aside from setting up an ftp server on one of these two machines, what
would
> be the best way to transfer files back and forth between linux boxes?  I'm
> running Red Hat 8 as my distro.

> Thanks in advance,

> ~ Matthew

 
 
 

1. How do I keep original file permissions when transferring files to a new box?

Hello to all Unix gurus,

I have been transferring files from one SCO Unix box to another using
ftp and tapes (via tar).  

There is no problem transferring the actual files, but I seem to lose the
original permissions of most of the files on the destination box. In particularly,
the write and execute permissions are not restored in the 'group' and 'other'
user classes.

Assumptions:
* I log in as 'root' on both boxes when transferring files.  The owners of
  the files on the destination box changes to 'root' in all cases.
* The destination box does not have any users set up yet.
* When using tar, I specify the 'p' option to restore original permissions on
  the destination box.

How can I keep the original permissions of the files when I transfer from
one box to another (without resorting to 'chmod' after the transfers) ?

Hope someone can solve my problem ?

Nick

  ,-._|\  Nick Gekas                        Limit to about 76 cols->
 /  Oz  \ Mail Address, Phone, Fax. Member, Melbourne PC User Group.
 \_,--.x/ Edit/replace text but don't exceed 4 lines as per netiquette.
       v  ++++ Fancy borders count as a line ~~~~~~~~~~-----++++++++++
UUENCODED by Trumpet for Windows [Version 1.0 Rev B final beta #4]

BEGIN--cut here--cut here----
begin 640 UNIX-U~1.TXT
<uuencoded_portion_removed>

`
end
END--cut here--cut here----

2. Possible FAQ, FileMgr Question

3. Bi-Directional 56k DSU btw 2 sco5 boxes

4. ethernet transmit errors

5. est. TCP/IP network btw linux box & win98

6. pppoe with a lan?

7. Slow file transfer to Solaris box

8. Newly built kernel can't find root device??

9. Ethernet link 2 linux boxes to transfer big files ?

10. unable to transfer large file between my two linux boxes

11. ASCII File transfer over Ethernet to Mulitport Serial on Linux box?

12. Transferring files from a Mac to a Linux box

13. Transferring files between Linux boxes