Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Internet Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=25)
-   -   Copy Files over Net via Unix Shell (https://www.cableforum.uk/board/showthread.php?t=28222)

TheBlueRaja 06-05-2005 16:59

Copy Files over Net via Unix Shell
 
Hi All,
I have a large 500 meg file i want to move from one IP address on the net to another.

Now i can spend ages downloading it then uploading it onto the new site - but i wondered if there was any way i could grab it from one site and put it onto the other withough having to go through that.

Both sites i have access to via a unix shell.

Any ideas - is it possible?

Stuart 06-05-2005 17:02

Re: Copy Files over Net via Unix Shell
 
You should be able to log in to the Shell on one system, then use the FTP command on that system to send the file to the other. Assuming the other has an FTP daemon running.

Richard M 06-05-2005 17:04

Re: Copy Files over Net via Unix Shell
 
Or use wget on the machine you want it on.
Example:
wget http://hostname/file.zip

TheBlueRaja 06-05-2005 17:05

Re: Copy Files over Net via Unix Shell
 
Ok, so - eh - how would i do that - i have not got much unix experience. :help:
__________________

Quote:

Originally Posted by Richard M
Or use wget on the machine you want it on.
Example:
wget http://hostname/file.zip

Cool - goes off to try that.

philip.j.fry 06-05-2005 17:11

Re: Copy Files over Net via Unix Shell
 
Alternatively, RCP, log into the machine you want it on, then rcp the file from the other machine. Don't you just love Unix, some many ways to do a simple job :)

zovat 06-05-2005 17:13

Re: Copy Files over Net via Unix Shell
 
or you could scp it (assuming ssh is installed)

scp [user]@[host_orIP]:[filename] [local_file_name] (will copy the file to your current directory)

eg "scp zovat@197.12.12.12:MyDocuments/fred ./ " would copy a file called fred from the directory "MyDocuments" int the User zovat's home directory on the machine with the IP of 197.12.12.12 to the local directory.

greencreeper 06-05-2005 19:02

Re: Copy Files over Net via Unix Shell
 
There is no geek that a Unix question shall not reveal :D

I'd go with the FTP from one to the other myself.

philip.j.fry 06-05-2005 21:56

Re: Copy Files over Net via Unix Shell
 
Quote:

Originally Posted by greencreeper
There is no geek that a Unix question shall not reveal :D

I'd go with the FTP from one to the other myself.

There's always the option of ~400 floppies :)


All times are GMT. The time now is 21:34.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum