LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Moving files Ubuntu / Fedora Server (https://www.linuxquestions.org/questions/ubuntu-63/moving-files-ubuntu-fedora-server-811345/)

loftus49 05-31-2010 03:59 PM

Moving files Ubuntu / Fedora Server
 
I use Ubuntu Lucid and use the terminal to access my virtual server (GoDaddy - Red Hat Fedora Core 6). Using the terminal and entering SSH [account name]@IP gets me there. I can manipulate the server then.

But how do I transfer files to/from the Ubuntu terminal to the Fedora server? I want to (using Evolution) email a file on the server to someone. Stumped.

acid_kewpie 05-31-2010 04:10 PM

if you're already using ssh, you can use sftp / scp to move files over ssh.

There's no such thing as "Red Hat Fedora Core 6", that's two distributions in one, you've either got a very old unsupported version of Fedora, or a brand new beta version of redhat.

loftus49 05-31-2010 05:10 PM

Quote:

Originally Posted by acid_kewpie (Post 3987810)
if you're already using ssh, you can use sftp / scp to move files over ssh.

There's no such thing as "Red Hat Fedora Core 6", that's two distributions in one, you've either got a very old unsupported version of Fedora, or a brand new beta version of redhat.

That's what it is called. If I did this right, a gif is attached that shows the config. (deleted I hope)

syg00 05-31-2010 06:01 PM

I'd delete that attachment if I was you - posting IP addresses is looking for attacks.
Looks like FC6 - I'd be asking for an update.

raymor 05-31-2010 10:00 PM

There are lots of ways to move files across the network. The "best" way
depends on just what you're wanting to do. After all, by reading this
page you're copying a file from the linuxquestions.org server to your
local machine, but you wouldn't want to use HTTP for most file transfer
operations.

To transfer a few files, using scp:

scp -r /home/you/some_directory theserver.com:/home/you/some_directory

FTP is also useful at times. A good FTP client is "ncftp"
yum install ncftp
ncftp -u your_username theserver.com

To sync up a directory of files that are mostly the same:

rsync /home/you/some_directory theserver.com:/home/you/some_directory

Transferring lots of files while retaining proper ownership and permissions:

tar --preserve --same-owner --atime-preserve -B -zcf - . |
ssh user@host "cd /home && tar -B --preserve --same-owner --atime-preserve -zxvf -"

John VV 05-31-2010 10:27 PM

do not touch a go-daddy server with the dead and unsupported fedora 6 on it. Fedora 6 has NOT had any security ( or any other) updates in 3 years .
Would you use a version of Microsoft windows that DID NOT HAVE the last 3 years of fixes installed -- the answer is NO A VERY BIG NO -- so do nor use a Linux version that has NOT had any updates in the last 3 years !!!


-- run , run as fast as you can from them !!!
-- use some one else !!!!!

loftus49 06-01-2010 01:08 AM

Quote:

Originally Posted by syg00 (Post 3987928)
I'd delete that attachment if I was you - posting IP addresses is looking for attacks.
Looks like FC6 - I'd be asking for an update.


Thanks. I deleted the .gif.


All times are GMT -5. The time now is 06:32 AM.