Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Daringescape

macrumors regular
Original poster
May 7, 2003
152
0
CA
I need to upload a large file to a webserver. I'd like to use terminal and maybe wget? I use wget all the time to move files between servers, but I have never used it to move a file from my local machine to a webserver. How do I access the file from my machine? I can t figure out what address to specify for the file.... I tried to use a localhost address, but I get a connection refused error.

Any help would be greatly appreciated.

Thanks

Edit: THe reason for using terminal is that fetch stalls. (the file is over 400 MB) and I thought maybe terminal wouldnt do this
 
I have you tried rsync? I use that all the time to move files between servers. Or use Cyber duck to SCP into it and move files around

i would type at the console

rsync -a -v <directory> user@server:/<destination>

This is just a example

rsync -a -v /home/toolbox toolbox@server:/home/toolbox

So basically i am on 1 server, copying the home folder of toolbox to the second server and putting it in the same location.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.