I use this script (launching lftp with some options) to mirror a local folder and a website.
#!/bin/bash
HOST="myhost.com"
USER="user"
PASS="xxxxxx"
lftp -c "set ftp:list-options -a;
set cmd:fail-exit yes;
open ftp://$USER:$PASS@$HOST;
lcd /home/user/websites/A;
cd /;
mirror --reverse \
--delete \
--verbose;"
My problem is, on some websites, I have the error "MFF and SITE CHMOD are not supported by this site"
I believe it is not a very important error. It just says that I have no right to set the permissions to the ones of my local files.
How can I disable this error message?