Created methods to test ftp connetivity