What is the preferred method and syntax to download a file to your disk from both an ftp site and http site programatically?