Profile
Achievement
o0110o's Recent SnippetsTagged download
- All /
« Prev 1 Next »
Place this snippent in your script, and call it like this:
urllib.urlretrieve(getFile, saveFile, reporthook=report)
Notice it is the 3rd argument that calls the function on each file that needs to be downloaded.
1
2007
posted 11 years ago by o0110o
This function will force a file to be downloaded. It accepts $_path as a parameter.
1
982
posted 12 years ago by o0110o