for file in $(find ./ -type f); do
file=${file//.\//}
file=${file//\//:}
file=$(basename $file '.txt')
url="https://user:****@localhost/doku.php?id=$file"
wget -nv --no-check-certificate "$url" -O /dev/null
[ $? != 0 ] && echo "ERROR fetching $url"
sleep 1
done