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

Show last authors
1 = Data transfer between Rechnerhalle and your private computer =
2
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.
4
5
6
7 {{toc/}}
8
9
10
11 == 1. Unix/Linux/Mac OS X ==
12
13 === 1.1 [[Shell>>http://de.wikipedia.org/wiki/Unix-Shell]] - Commands ===
14
15 To copy a file between those computers the program //scp// can be used.
16
17 Copy data: private computer → Rechnerhalle
18
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
23
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 }}}
37
38 {{html wiki="true"}}
39 <hr />
40 {{/html}}
41
42
43
44 === 1.2. Programs with grafical user interface ===
45
46 ==== 1.2.1. [[Cyberduck>>http://cyberduck.ch/]] - Mac OS X ====
47
48 Start Cyberduck
49
50 * Press the //Open Connection// - Icon in the top left corner
51 * In the following window:
52 ** choose //SFTP//
53 ** //Server// = lxhalle.in.tum.de
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"]]
58
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"]]
61
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"]]
64
65 * Now you can copy files and directories via drag & drop.
66
67 {{html wiki="true"}}
68 <hr />
69 {{/html}}
70
71
72
73 ==== 1.2.2. [[Gigolo>>https://www.uvena.de/gigolo/download.html]] - Ubuntu ====
74
75 Ubuntu-Version 16.04 LTS, which is also used on the computers into the Rechnerhalle.
76
77 * navigate to Application -> System and choose Gigolo. Press the icon with the two monitores.
78 [[image:gigoloverbinden2.png||height="376" width="646"]]
79
80 Please type the following in the //Connect to Server// - Window:
81
82 *
83 ** //Service type// = SSH
84 ** //Server// = lxhalle.in.tum.de
85 ** //Port// = //22//
86 ** //User Name// = Your in.tum - Login
87 * Press //Connect .//
88
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"]]
91
92 You should now see a window with the content of your root-directory. (##/##)
93
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"]]
98
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"]]
101
102 ----
103
104 Creating !HowTo we used Windows 10 x64.
105
106 ==== 1.2.3. [[WinSCP>>http://winscp.net/eng/index.php]] - Windows ====
107
108 **{{html wiki="true"}}<span class='WYSIWYG_COLOR ' style='color:Blue'>[[winSCP portable>>https://winscp.net/eng/docs/portable]]</span>{{/html}}**
109
110 Install [[WinSCP>>http://winscp.net/eng/index.php]] (current version 5.7.3, status 20.11.2015)
111
112 * Start the program
113 * With //WinSCP Anmeldung// → //Sitzung// enter the following:
114 ** //Computername// = lxhalle.in.tum.de
115 ** //Port// = //22//
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//
120
121 [[image:/bin/download/Informatik/Helpdesk/DatenTransfer/WebHome/winscpverbindungneu.jpg||alt="winscpverbindungneu.jpg" height="690" width="1018"]]
122
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"]]
125
126 You should see the user interface with 2 windows side by side now.
127
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"]]
131
132 A dialogue is shown, in which you have to confirm the target directory again.
133
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
138 ----
139
140 -- [[Main.>>Main.MarekOrschewskiNe26gik]]alinaya - 16 Apr 2018--