Copy Files over Net via Unix Shell
06-05-2005, 16:59
|
#1
|
|
cf.mega poster
Join Date: Dec 2003
Location: Baw deep in a munter
Age: 50
Services: Initiations, rep rigging and orgies!
Posts: 5,750
|
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?
|
|
|
06-05-2005, 17:02
|
#2
|
|
-
Join Date: Jun 2003
Location: Somewhere
Services: Virgin for TV and Internet, BT for phone
Posts: 26,546
|
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.
|
|
|
06-05-2005, 17:04
|
#3
|
|
Inactive
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
|
Re: Copy Files over Net via Unix Shell
Or use wget on the machine you want it on.
Example:
wget http://hostname/file.zip
|
|
|
06-05-2005, 17:05
|
#4
|
|
cf.mega poster
Join Date: Dec 2003
Location: Baw deep in a munter
Age: 50
Services: Initiations, rep rigging and orgies!
Posts: 5,750
|
Re: Copy Files over Net via Unix Shell
Ok, so - eh - how would i do that - i have not got much unix experience. 
__________________
Quote:
|
Originally Posted by Richard M
|
Cool - goes off to try that.
|
|
|
06-05-2005, 17:11
|
#5
|
|
Inactive
Join Date: Jul 2003
Posts: 1,395
|
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
|
|
|
06-05-2005, 17:13
|
#6
|
|
Inactive
Join Date: Oct 2003
Location: Bracknell
Age: 56
Services: NTL Telephone
3M Broadband - CM
Sky TV
Posts: 1,246
|
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.
|
|
|
06-05-2005, 19:02
|
#7
|
|
Inactive
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 49
Services: Email me for a current price list
Posts: 8,270
|
Re: Copy Files over Net via Unix Shell
There is no geek that a Unix question shall not reveal
I'd go with the FTP from one to the other myself.
|
|
|
06-05-2005, 21:56
|
#8
|
|
Inactive
Join Date: Jul 2003
Posts: 1,395
|
Re: Copy Files over Net via Unix Shell
Quote:
|
Originally Posted by greencreeper
There is no geek that a Unix question shall not reveal
I'd go with the FTP from one to the other myself.
|
There's always the option of ~400 floppies
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 21:22.
|