fixed ftp connectivity
added ftp test