File Transfer

Discussion in 'Programming' started by sgrewal1, Mar 10, 2010.

  1. #1
    Hi, I am using ubuntu..
    I need to transfer files from my university's server to my home machine via TERMINAL...
    Can anybody please tell me what is the command for that?
    PS (Don't want to use filezilla)
     
    sgrewal1, Mar 10, 2010 IP
  2. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #2
    You are in your house trying to download?
    OR you are in the university trying to send a file to your home PC?

    Which?

    scp - non interactive
    scp filelocal user@remote:.
    will copy the 'filelocal' into the home directory of 'user' on remote.
     
    proxywhereabouts, Mar 10, 2010 IP
  3. sgrewal1

    sgrewal1 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am at home...
    if i do
    cp filename username@universityservername ~/Desktop

    it will copy my file to my desktop at university server ...
    I could not figure out scp filelocal user@remote....
    i tried it...but it did nothing
     
    sgrewal1, Mar 10, 2010 IP
  4. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #4
    why not use rsync on your uni pc?
     
    proxywhereabouts, Mar 10, 2010 IP
  5. sgrewal1

    sgrewal1 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanx a lot....got it working with rsync..
     
    sgrewal1, Mar 10, 2010 IP