Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FTP guide #4

Open
darribas opened this issue Mar 18, 2020 · 1 comment
Open

Add FTP guide #4

darribas opened this issue Mar 18, 2020 · 1 comment

Comments

@darribas
Copy link
Member

This is sloted to go 01_Files.Rmd

I know @aelissa and @SamComber at least have used this, anyone could chip in a few words?

@aelissa
Copy link
Contributor

aelissa commented Mar 18, 2020

Sure. Here just some notes:

You can copy files from the uni machine to your laptop in two ways: 1) via the terminal unix like (Mac or Linux) 2) or using a software.

  1. TERMINAL
    to move a single file:
    from the uni to your laptop
    scp usernameUni@IP_address_uni:directory1/filename1 your_laptop_path/filename2
    from your laptop to the uni
    scp your_laptop_path/filename1 usernameUni@IP_address_uni:directory2/filename2

to move a directory:
from the uni to your laptop
scp -r usernameUni@IP_address_uni:directory1/filename1 your_laptop_path/filename2
from your laptop to the uni
scp -r your_laptop_path/directory1 usernameUni@IP_address_uni:directory2

  1. SOFTWARE

for linux users you do not need to install anything but can use the in-built Files

Open Files
click on + Other Location (left side)
at the bottom you see Connect to Server
in the empty space add sftp://username@yourUni_IP_address/home/username
(I have certificate based authentication so I don't need to add password or username, you can do it following this guide: http://linuxproblem.org/art_9.html if you like. However, it should be working anyway by adding the password.)

for Mac and Windows you can use some file transfer managers such as Filezilla, cyberDuck or winSCP (I cannot remember which one John was suggesting though)

As Dani highlighted it is strongly recommended not to transfer file that are too big (that may even be impossible to do).

If the machines at the lab will not be turned off you should transfer file locally only if it is strictly necessary and aim at working on your machine remotely with server based applications - running on a docker is good practice in general and a must-do on shared resources - (you will realize that it makes your life much easier).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants