title: Python Libraries for FTP Upload/Download?
body: <p>Okay so a bit of forward:</p>
  
  <p>We have a service/daemon written in python that monitors remote ftp sites. These sites are not under our command, some of them we do NOT have del/rename/write access, some also are running extremely old ftp software. Such that certain commands do not work. There is no standardization among any of these ftp's, and they are out of our control(government). </p>
  
  <p>About a year ago i wrote a ftp wrapper library for in house that basically adds in stuff like resume upload/resume download/verifying files are not currently being written to, etc. The problem is we soon found out is that due to so many of the ftp servers running werid/non standard software we were constantly fighting with the wrapper library/ftplib. </p>
  
  <p>Basically I've given up on ftplib. Is there an alternative? I've looked at most of the ftp alternatives all of them are missing one or another key component of functionality. </p>
  
  <p>What ever the choice is, it must run for python 2.5.2 (we cannot change). and must run on Linux/Windows/HP-UX.</p>
  
  <p>Update:</p>
  
  <p>Sorry i forgot to tell you alternatives i looked at:</p>
  
  <ol>
  <li>ftputil, problem is it does not support resume upload/download and stuff like partially downloading files given an offset.</li>
  <li>Pycurl looked good, i'll look at it again.</li>
  </ol>