title: Proxy settings for urllib.urlretrieve
body: <p>I am using <code>urllib.urlretrieve</code> to download a file on a remote FTP site with the anonymous pattern.</p>
  
  <p><a href="ftp://ftp.%7BDOMAIN%7D/register/%7BFOLDER1%7D/%7BFOLDER2%7D/%7BFOLDER3%7D/%7BFILE%7D" rel="nofollow">ftp://ftp.{DOMAIN}/register/{FOLDER1}/{FOLDER2}/{FOLDER3}/{FILE}</a></p>
  
  <pre><code>import urllib
  urllib.urlretrieve(FILE_TO_DOWNLOAD, DESTINATION_FILE)
  </code></pre>
  
  <p>When it was run on my company computer, it gave me an error as below:</p>
  
  <pre><code>IOError: [Errno ftp error] proxy support for ftp protocol currently not implemented
  </code></pre>
  
  <p>I know it lacks of proxy settings in the code, but I have no idea where and how to set up my proxy settings.</p>