How to download a file through http on to a local folder on my server in jython(or python)
The below code might work
os.chdir("/path/to/change/to")
from urllib2 import urlopen
f = urlopen("http://some.server/some/directory/some.file")
But for this my Current working directory is changed.I want to be in the current working directory and download the file to any given path on my Server.
Any help ?