Martin - lol :)<br><br>I also made an rsync compatible script and an extension to ftputil that adds caching (actually, it's a script that adds caching of "dir" calls to ftplib, and I use the factory method to incorporate the extended ftplib into ftputil, I guess that this could be extended to add caching of downloaded files, but I didn't need to at the time)<br><br>It would be interesting to compare notes.<br><br>Stefan - could you attach the license and possibly explain the differences between your license and the regular BSD license, or just direct me to an online version of it? I'm not really sure if I can share my code due to my working contract...<br><br>Oh, and it would be nice to have a "keep alive" method, sometimes my connection dies in the middle due to inactivity... I just found out that it posses a problem to my rsync-like script and I'll have to figure out how to deal with it. a standard caching system gets a +3 from me - even though I'm quite satisfied at the
moment with my current solution.<br><br>Ido.<br><br><b><i>Stefan Schwarzer <sschwarzer@sschwarzer.net></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Martin,<br><br>On 2006-07-07 16:28, Martin Wilck wrote:<br>> Stefan Schwarzer wrote:<br>><br>>> *** Ticket #3 - Add caching of stat results<br>>> http://ftputil.sschwarzer.net/trac/ticket/3<br>>><br>>> *** Ticket #6 - Add an FTP mirror script<br>>> http://ftputil.sschwarzer.net/trac/ticket/6<br>><br>> You may be interested to know that I have made an extension to ftputil<br>> (so far only for my own personal uses) that incorporates these two<br>> features.<br><br>:-)<br><br>> The mirror script uses an rsync-like logic for including and<br>> excluding files. I use it regularly as an upload mirror script for a<br>> large internal FTP site. Apart from the two features mentioned, it
can<br>> also (to a certain reasonable extent) deal with FTP servers on broken<br>> OSes with case-insensitive file systems.<br>><br>> I haven't posted the code here so far because it needs some cleanup and<br>> because it was made against ftputil 2.1b.<br><br> From 2.1b to 2.1 only very little has changed, if anything at<br>all.<br><br>> I'll try to get the stuff cleaned up asap, perhaps it can save you some<br>> work.<br><br>I suggest that (if you don't mind) you _don't_ clean up the code<br>beforehand, but instead first send it to me as it is. (However,<br>it's important that I get to see only code that I can include<br>under the revised BSD license of ftputil. So if your work is/was<br>related to the work you did for your employer, there may be<br>problems with the usage rights.)<br><br>So I can think of how it fits into my view of ftputil before you<br>have the clean-up work. And, anyway, I'm curious. :-)<br><br>Best
wishes<br>Stefan<br><br>_______________________________________________<br>ftputil mailing list<br>ftputil@codespeak.net<br>http://codespeak.net/mailman/listinfo/ftputil<br></blockquote><br><p> 
        
                <hr size=1>Sneak preview the <a href="http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview"> all-new Yahoo.com</a>. It's not radically different. Just radically better.