Commissario
My hosting company didn't bother telling anyone but they're now insisting all ftp access is done using TLS 1.2.
My simple ftp script has stopped working.
I've spent a while trying to understand what I need to do here to make it work using TLS.
Can anyone help please?
Thanks.
My simple ftp script has stopped working.
Code:
#!/bin/sh
cd /home/upload_temp/ftp/files
sudo cp index.upload index.html
sudo chown root:root index.html
sudo chmod +x index.html
HOST='my_server_hostname'
USER='mu_username'
PASSWD='my_password'
FILE='index.html'
ftp -n $HOST <<END_SCRIPT
user ${USER} ${PASSWD}
cd /upload
put $FILE
quit
END_SCRIPT
exit 0
I've spent a while trying to understand what I need to do here to make it work using TLS.
Can anyone help please?
Thanks.