Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Copy Files over Net via Unix Shell

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion
Register FAQ Community Calendar

Copy Files over Net via Unix Shell
Reply
 
Thread Tools
Old 06-05-2005, 16:59   #1
TheBlueRaja
cf.mega poster
 
Join Date: Dec 2003
Location: Baw deep in a munter
Age: 50
Services: Initiations, rep rigging and orgies!
Posts: 5,750
TheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny star
TheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny star
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?
TheBlueRaja is offline   Reply With Quote
Advertisement
Old 06-05-2005, 17:02   #2
Stuart
-
 
Stuart's Avatar
 
Join Date: Jun 2003
Location: Somewhere
Services: Virgin for TV and Internet, BT for phone
Posts: 26,546
Stuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver bling
Stuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver bling
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.
Stuart is offline   Reply With Quote
Old 06-05-2005, 17:04   #3
Richard M
Inactive
 
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Re: Copy Files over Net via Unix Shell

Or use wget on the machine you want it on.
Example:
wget http://hostname/file.zip
Richard M is offline   Reply With Quote
Old 06-05-2005, 17:05   #4
TheBlueRaja
cf.mega poster
 
Join Date: Dec 2003
Location: Baw deep in a munter
Age: 50
Services: Initiations, rep rigging and orgies!
Posts: 5,750
TheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny star
TheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny star
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
Or use wget on the machine you want it on.
Example:
wget http://hostname/file.zip
Cool - goes off to try that.
TheBlueRaja is offline   Reply With Quote
Old 06-05-2005, 17:11   #5
philip.j.fry
Inactive
 
philip.j.fry's Avatar
 
Join Date: Jul 2003
Posts: 1,395
philip.j.fry has reached the bronze age
philip.j.fry has reached the bronze agephilip.j.fry has reached the bronze agephilip.j.fry has reached the bronze agephilip.j.fry has reached the bronze age
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
philip.j.fry is offline   Reply With Quote
Old 06-05-2005, 17:13   #6
zovat
Inactive
 
zovat's Avatar
 
Join Date: Oct 2003
Location: Bracknell
Age: 56
Services: NTL Telephone 3M Broadband - CM Sky TV
Posts: 1,246
zovat has reached the bronze age
zovat has reached the bronze agezovat has reached the bronze agezovat has reached the bronze agezovat has reached the bronze agezovat has reached the bronze agezovat has reached the bronze agezovat has reached the bronze agezovat has reached the bronze age
Send a message via MSN to zovat
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.
zovat is offline   Reply With Quote
Old 06-05-2005, 19:02   #7
greencreeper
Inactive
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 49
Services: Email me for a current price list
Posts: 8,270
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
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.
greencreeper is offline   Reply With Quote
Old 06-05-2005, 21:56   #8
philip.j.fry
Inactive
 
philip.j.fry's Avatar
 
Join Date: Jul 2003
Posts: 1,395
philip.j.fry has reached the bronze age
philip.j.fry has reached the bronze agephilip.j.fry has reached the bronze agephilip.j.fry has reached the bronze agephilip.j.fry has reached the bronze age
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
philip.j.fry is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:04.


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