This method takes a string containing the URL of the file to be downloaded. It will create a file in the current folder whose name is the same as the remote file.
If proxy configuration is needed, call this:
before the call.
Here is another approach using categories. The default left shift operators acts on text streams only. This category overrides the left shift operator making it a binary copy and uses the URL type as the source for the data.