title: Python and urllib
body: <p>I'm trying to download a zip file ("tl_2008_01001_edges.zip") from an ftp <a href="ftp://ftp2.census.gov/geo/tiger/TIGER2008/01_ALABAMA/01001_Autauga_County/" rel="noreferrer">census</a> site using urllib. What form is the zip file in when I get it and how do I save it?</p>
  
  <p>I'm fairly new to Python and don't understand how urllib works.</p>
  
  <p>This is my attempt:</p>
  
  <pre><code>import urllib, sys
  
  zip_file = urllib.urlretrieve("ftp://ftp2.census.gov/geo/tiger/TIGER2008/01_ALABAMA/Autauga_County/", "tl_2008_01001_edges.zip")
  </code></pre>
  
  <p>If I know the list of ftp folders (or counties in this case), can I run through the ftp <a href="ftp://ftp2.census.gov/geo/tiger/TIGER2008/01_ALABAMA/" rel="noreferrer">site</a> list using the glob function?</p>
  
  <p>Thanks.</p>