I\'m trying to download a zip file (\"tl_2008_01001_edges.zip\") from an ftp census site using urllib. What form is the zip file in when I get it and how do I save it?
import os,urllib2 out=os.path.join("/tmp","test.zip") url="ftp://ftp2.census.gov/geo/tiger/TIGER2008/01_ALABAMA/01001_Autauga_County/tl_2008_01001_edges.zip" page=urllib2.urlopen(url) open(out,"wb").write(page.read())