finally fixed ftp issues