Git ftp fix

There is more things to do. But this is big improvement. I hope!