Last modified by Yunhao Wu on 2023/07/05 16:22

Hide last authors
Aysegül Omus 108.1 1 = Data transfer between Rechnerhalle and your private computer =
wikibot 1.1 2
Aysegül Omus 108.1 3 This article explains how to transfer data between your home-directory in the Rechnerhalle and your private computer. Depending on the operating system, various options are shown.
wikibot 1.1 4
5
Aysegül Omus 108.1 6
wikibot 1.1 7 {{toc/}}
8
9
Aysegül Omus 108.1 10
wikibot 1.1 11 == 1. Unix/Linux/Mac OS X ==
12
Aysegül Omus 108.1 13 === 1.1 [[Shell>>http://de.wikipedia.org/wiki/Unix-Shell]] - Commands ===
wikibot 1.1 14
Aysegül Omus 108.1 15 To copy a file between those computers the program //scp// can be used.
Aysegül Omus 104.1 16
Aysegül Omus 108.1 17 Copy data: private computer → Rechnerhalle
Ana Villalobos González 105.1 18
Aysegül Omus 108.1 19 *
20 ** copy a file into the ##/Pictures## directory in the Rechnerhalle {{{ scp <file name> ITO-Login@lxhalle.in.tum.de:~/Pictures}}}
21 ** Copy a directory into the ##/Pictures## directory in the Rechnerhalle {{{scp -r <directory name> ITO-Login@lxhalle.in.tum.de:~/Pictures}}}
22 * Copy data: Rechnerhalle → private computer
wikibot 1.1 23
Aysegül Omus 108.1 24 *
25 ** Copy a file out of ##/Pictures## directory in the Rechnerhalle {{{scp ITO-Login@lxhalle.in.tum.de:~/Pictures/<file name> .}}}
26 ** Copy a directory out of the ##/Pictures## directory in the Rechnerhalle {{{scp -r ITO-Login@lxhalle.in.tum.de:~/Pictures/<directory name> .}}}
27 * Another option for data transfer is the program //rsync//, which has some useful features, mainly for transferring big data.
28 ** the option ##-P## is usefule during a connection abort. During a connection abort while downloading, the incomplete file is stored on the target computer. When repeating the copy command the download continues where it left of before.
29 ** in addition, the download process is shown in percent
30 ** Copy data: Private computer → Rechnerhalle
31 *** copa a file into the ##/Pictures## directory in the Rechnerhalle {{{rsync -P <file name> RBG-Login@lxhalle.in.tum.de:~/Pictures}}}
32 *** copy a directory into ##/Pictures## directory in the Rechnerhalle {{{rsync -r -P <directory name> RBG-Login@lxhalle.in.tum.de:~/Pictures}}}
33 ** copy data: Private computer ← Rechnerhalle
34 *** copy a file out of the ##/Pictures## directory in the Rechnerhalle {{{rsync -P RBG-Login@lxhalle.in.tum.de:~/Pictures/<filename> .}}}
35 *** copy a directory out of the ##/Pictures## directory in the Rechnerhalle {{{rsync -r -P RBG-Login@lxhalle.in.tum.de:~/Pictures/<directory name> .}}}
36 * the mentioned commands have a more extensive funcionality, for more information it is recomanded to read the manpages (Manual Pages) of the cmmands - you can read those with a ##man## in front of the command name, e.g.: {{{man rsync }}}
Ana Villalobos González 105.1 37
wikibot 1.1 38 {{html wiki="true"}}
39 <hr />
40 {{/html}}
41
42
43
Aysegül Omus 108.1 44 === 1.2. Programs with grafical user interface ===
wikibot 1.1 45
46 ==== 1.2.1. [[Cyberduck>>http://cyberduck.ch/]] - Mac OS X ====
47
Aysegül Omus 108.1 48 Start Cyberduck
Aysegül Omus 104.1 49
Aysegül Omus 108.1 50 * Press the //Open Connection// - Icon in the top left corner
51 * In the following window:
52 ** choose //SFTP//
wikibot 1.1 53 ** //Server// = lxhalle.in.tum.de
Aysegül Omus 108.1 54 ** //Username// = Your in.tum-Login (e.g. like muster or musterma on the screenshot)
55 ** //Password// = the according password
56 * Press //Connect//
57 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/cyberduckfstp2.png||alt="cyberduckfstp2.png" height="511" width="900"]]
wikibot 1.1 58
Aysegül Omus 108.1 59 Confirm the following dialogue with **Allow** and check the box at **Always**.
60 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/cyberduckAllow2.png||alt="cyberduckAllow2.png" height="182" width="412"]]
wikibot 1.1 61
Aysegül Omus 108.1 62 Then you can see your own home-directory in the Rechnerhalle.
63 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/cyberduckdateien.png||alt="cyberduckdateien.png" height="401" width="900"]]
Aysegül Omus 104.1 64
Aysegül Omus 108.1 65 * Now you can copy files and directories via drag & drop.
Ana Villalobos González 106.1 66
wikibot 1.1 67 {{html wiki="true"}}
68 <hr />
69 {{/html}}
70
71
Aysegül Omus 108.1 72
wikibot 1.1 73 ==== 1.2.2. [[Gigolo>>https://www.uvena.de/gigolo/download.html]] - Ubuntu ====
74
Aysegül Omus 108.1 75 Ubuntu-Version 16.04 LTS, which is also used on the computers into the Rechnerhalle.
Aysegül Omus 104.1 76
Aysegül Omus 108.1 77 * navigate to Application -> System and choose Gigolo. Press the icon with the two monitores.
78 [[image:gigoloverbinden2.png||height="376" width="646"]]
wikibot 1.1 79
Aysegül Omus 108.1 80 Please type the following in the //Connect to Server// - Window:
Ana Villalobos González 107.1 81
Aysegül Omus 108.1 82 *
Aysegül Omus 104.1 83 ** //Service type// = SSH
wikibot 1.1 84 ** //Server// = lxhalle.in.tum.de
85 ** //Port// = //22//
Aysegül Omus 108.1 86 ** //User Name// = Your in.tum - Login
87 * Press //Connect .//
wikibot 1.1 88
Aysegül Omus 108.1 89 Now, please enter your in.tum password.
90 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/gigolopasswort2.png||alt="gigolopasswort2.png" height="364" width="635"]]
wikibot 1.1 91
Aysegül Omus 108.1 92 You should now see a window with the content of your root-directory. (##/##)
Ana Villalobos González 106.1 93
Aysegül Omus 108.1 94 * A short cut for this connection has been created on your desktop, which you can easily use next time to connect with the computer. 
95 * Your data is in this directory: sftp://musterma@lxhalle.in.tum.de/**u**/**halle**/**musterma**/**home_at.**
96 * Now you can copy and paste your chosen file using the mouse.
97 [[image:- on lxhalle.in.tum.de - File Manager_008neuuuu.jpg||height="832" width="800"]]
Ana Villalobos González 106.1 98
Aysegül Omus 108.1 99 You can access the SFTP file, using the application -> System -> Gigolo.
100 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/Gigolo_006mustermalxhalleneu.jpg||alt="Gigolo_006mustermalxhalleneu.jpg" height="413" width="715"]]
wikibot 1.1 101
102 ----
103
Aysegül Omus 108.1 104 Creating !HowTo we used Windows 10 x64.
wikibot 1.1 105
106 ==== 1.2.3. [[WinSCP>>http://winscp.net/eng/index.php]] - Windows ====
107
Aysegül Omus 104.1 108 **{{html wiki="true"}}<span class='WYSIWYG_COLOR ' style='color:Blue'>[[winSCP portable>>https://winscp.net/eng/docs/portable]]</span>{{/html}}**
wikibot 1.1 109
Aysegül Omus 108.1 110 Install [[WinSCP>>http://winscp.net/eng/index.php]] (current version 5.7.3, status 20.11.2015)
Aysegül Omus 104.1 111
Aysegül Omus 108.1 112 * Start the program
113 * With //WinSCP Anmeldung// → //Sitzung// enter the following:
114 ** //Computername// = lxhalle.in.tum.de
wikibot 1.1 115 ** //Port// = //22//
Aysegül Omus 108.1 116 ** //Username// = Your in.tum - Login
117 ** //Password// = Password for your in.tum - Access
118 * You can press //save// to save the settings for your profil, which you can use again
119 * Press //anmelden//
wikibot 1.1 120
Aysegül Omus 108.1 121 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpverbindungneu.jpg||alt="winscpverbindungneu.jpg" height="690" width="1018"]]
wikibot 1.1 122
Aysegül Omus 108.1 123 Eventuelly you have to confirm the following with //yes//.
124 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpsha.jpg||alt="winscpsha.jpg" height="548" width="1010"]]
Aysegül Omus 104.1 125
Aysegül Omus 108.1 126 You should see the user interface with 2 windows side by side now.
Ana Villalobos González 106.1 127
Aysegül Omus 108.1 128 * The left window contains the files on your computer and the right one the files in your home directory in the Rechnerhalle.
129 * Now you can copy file by drag & drop.
130 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpdateienneu.jpg||alt="winscpdateienneu.jpg" height="690" width="1016"]]
Ana Villalobos González 106.1 131
Aysegül Omus 108.1 132 A dialogue is shown, in which you have to confirm the target directory again.
Aysegül Omus 104.1 133
Aysegül Omus 108.1 134 * Pressing **choose** you can change the target directory.
135 * To copy the file press **OK**.
136 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpdialogbestneu.jpg||alt="winscpdialogbestneu.jpg" height="218" width="513"]]
137
wikibot 1.1 138 ----
139
Aysegül Omus 104.1 140 -- [[Main.>>Main.MarekOrschewskiNe26gik]]alinaya - 16 Apr 2018--