Setup a caching proxy and acquire the last-modified header from the http proxy server. Then, here is a demonstration of a conditional GET request:<br><br><a href="http://www.artima.com/forums/flat.jsp?forum=122&amp;thread=15024">http://www.artima.com/forums/flat.jsp?forum=122&amp;thread=15024</a><br>
<br>download the file from the proxy if the last-modified header is newer than yours on disk.<br><br>HTH<br><br><br><div class="gmail_quote">On Thu, Nov 18, 2010 at 11:06 AM, Vikram K <span dir="ltr">&lt;<a href="mailto:kpguy1975@gmail.com">kpguy1975@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">consider the following ftp site:<br><a href="ftp://ftp.ncbi.nih.gov/refseq/H_sapiens/" target="_blank">ftp://ftp.ncbi.nih.gov/refseq/H_sapiens/</a><br>
<br>I wish to write a program using urllib2 which can automatically download all the contents of one of the folders in this site (say, for example, mRNA_Prot) into a folder in my computer. Subsequently i want my program to be able to automatically update the downloaded folder in my computer in accordance with any changes made in future in the folder in the ftp site. Any suggestions on how i should proceed?<br>

I am using a windows 7 computer. Will i also have to use the scheduled tasks option in system tools for solving this problem?  <br>
<br>_______________________________________________<br>
Baypiggies mailing list<br>
<a href="mailto:Baypiggies@python.org">Baypiggies@python.org</a><br>
To change your subscription options or unsubscribe:<br>
<a href="http://mail.python.org/mailman/listinfo/baypiggies" target="_blank">http://mail.python.org/mailman/listinfo/baypiggies</a><br></blockquote></div><br>