aktuelle.kurse/m122/tools-technics
Harald G. Mueller e092c51281 ftp
2022-06-07 10:51:25 +02:00
..
ftp.py muh 2022-05-24 13:49:44 +02:00
linuxcommands.ftp muh 2022-06-03 12:01:08 +02:00
README.md ftp 2022-06-07 10:51:25 +02:00

m122

Tools & Technics

FTP

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

E-Mail