diff --git a/m122/LB_Einzelaufgabe_Projekt/README.md b/m122/LB_Einzelaufgabe_Projekt/README.md index 5362826..1d58289 100644 --- a/m122/LB_Einzelaufgabe_Projekt/README.md +++ b/m122/LB_Einzelaufgabe_Projekt/README.md @@ -4,6 +4,8 @@ - [https://www.howtoforge.com/tutorial/how-to-use-ftp-on-the-linux-shell/](https://www.howtoforge.com/tutorial/how-to-use-ftp-on-the-linux-shell/) **bash-Beispiel** +![../tools-technics/ftpanweisungen.jpg](../tools-technics/ftpanweisungen.jpg) + ``` #!/bin/bash ftpHost="ftp.blaueierschwimmen.ch" diff --git a/m122/tools-technics/README.md b/m122/tools-technics/README.md index 609769f..2a591e5 100644 --- a/m122/tools-technics/README.md +++ b/m122/tools-technics/README.md @@ -5,30 +5,10 @@ ### FTP - [https://www.howtoforge.com/tutorial/how-to-use-ftp-on-the-linux-shell/](https://www.howtoforge.com/tutorial/how-to-use-ftp-on-the-linux-shell/) - - HOST: ftp.haraldmueller.ch - - USER: schoolerinvoices - - PASS: Berufsschule8005! + *bash-Beispiel* -``` -#!/bin/bash -ftpHost="ftp.blaueierschwimmen.ch" -ftpUser="schoolerinvoices" -ftpPass="Berufsschule8005!" -ftpDir="data" -localDir="daten" - -ftp -i $ftpHost << INPUTBLOCK -quote USER $ftpUser -quote PASS $ftpPass -passive -cd $ftpDir -lcd $localDir -mget *.* -close -bye -INPUTBLOCK -``` +![./ftpanweisungen.jpg](./ftpanweisungen.jpg) ### E-Mail diff --git a/m122/tools-technics/ftpanweisungen.jpg b/m122/tools-technics/ftpanweisungen.jpg new file mode 100644 index 0000000..c4fab5b Binary files /dev/null and b/m122/tools-technics/ftpanweisungen.jpg differ diff --git a/m122/tools-technics/linuxcommands.ftp b/m122/tools-technics/linuxcommands.ftp index d70bf9f..65f46a6 100644 --- a/m122/tools-technics/linuxcommands.ftp +++ b/m122/tools-technics/linuxcommands.ftp @@ -1,6 +1,6 @@ ftp -open ftp.haraldmueller.ch + open ftp.haraldmueller.ch schoolerinvoices Berufsschule8005!