Using Terminal to send a file to a server?

Discussion in 'macOS' started by Daringescape, Jan 9, 2009.

  1. Daringescape macrumors regular

    Joined:
    May 7, 2003
    Location:
    CA
    #1
    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
     
  2. toolbox macrumors 68020

    toolbox

    Joined:
    Oct 6, 2007
    Location:
    Australia (WA)
    #2
    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

    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.
     

Share This Page