a ruby script that can login to an https and download a specified file