User Tools

Site Tools


How to transfer Professorx's files from/to an external server

Distant server with an ssh connection

If you can have an ssh connection with the distant server ⇒ use scp command (2 possibilities):

  • Possibility 1 (ProfessorX ⇒ distant server):

Open connection to ProfessorX with ssh (using your normal account) and then type something like :

scp -r distant_login@distant_server_IP:/home/your_home_folder/folder_to_copy

(a required password for the distant server could be asked)

⇒ The distant server must have an open access to the ssh protocol, from the outside (if not, the connection will fail)

  • Possibility 2 (distant server ⇒ ProfessorX):
  1. Use the VPN of Nice University (click here for more)
  2. Then, connect you to the distant server (in ssh) where your files are deposited.
  3. Type something like :
scp -r login_on_professorX@134.59.51.200:/home/login_professorx/
  • Note, if the transfer fails before the end (long transfer, other), you can restart it using the command “rsync” (+ options)

Distant server with an http or ftp connection

If files are available from a web server (http access) or ftp sever

  • Connect to ProfessorX with ssh (using your normal account) and then type something like :
wget http://www.website.org/rep/01/file.txt

or for a folder:

wget -r http://www.site.org/rep/01/

And in ftp:

wget -r ftp://login:password@serveur.org/folder_to_download

⇒ Note, you can add “-c” option if you want to continue an interrupted transfer

tutos/transfer_outside.txt · Last modified: 2017/02/06 15:24 by olivier