making a ftp client console based