diff --git a/authftp b/authftp index 9238e44..d7e8fe6 100755 --- a/authftp +++ b/authftp @@ -73,11 +73,11 @@ if [ -n "$lftp" ]; then if [ -n "$noproxy" ]; then exec lftp "${options[@]}" -e "\ set ssl:verify-certificate $verify_certificate -$(qvals open -u "$login,$password" "ftp://$host/$path")" +open -u $login,$password ftp://$host/$path" else exec lftp "${options[@]}" -e "\ set ssl:verify-certificate $verify_certificate -$(qvals open -u "${login}@${my_login}@${host},${password}@${my_password}" "ftp://$AUTHFTP_PROXY_HOST/$path")" +open -u ${login}@${my_login}@${host},${password}@${my_password} ftp://$AUTHFTP_PROXY_HOST/$path" fi else if [ -n "$noproxy" ]; then