modified ftp to work with args