mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 02:31:58 +01:00
739 B
739 B
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