Fixing ftp connection issues