Get ftp file list and get files on ftp via curl

Get ftp file list and get files via curl Bash script for getting all files in chroot dir and get files Create file with user:passwd@ip user1:232323232@217.116.163.35 user2:dsfsfsfsf@217.116.163.35 user3:sfsfsfsf@217.116.163.35 #!/bin/bash TRIC_CONNECTION_FILE=”/docker-compose/scripts/tric_import/tric.list” TRIC_DATA=$(cat ${TRIC_CONNECTION_FILE} | grep -ve ‘^#.*$’ | sed ‘/^\s*$/d’ ) HOME_DIR=”/bup/tric” ftp_get () { while read -r line do FTPUSER=$(echo “$line” | cut -d\: -f1 […]

Читать дальше… from Get ftp file list and get files on ftp via curl