File info from external ftp
Hi, In our Zope based Website we use an external (non-zope) ftp-server where users can download program updates, manuals etc. We do this because we have a much better / cheaper bandwidth on the external server.
From within zope I have a sort of 'link object' that points to these files, so that users don't notice the difference. When I list these objects in a directory (via dtml-in) I would also like to show automatically the date and the size of the external file. Does anybody know how this can be accomplished easily from within zope ?
Thanks Hans
Take a look at the python library reference: 11.6 ftplib -- FTP protocol client This module defines the class FTP and a few related items. The FTP class implements the client side of the FTP protocol. You can use this to write Python programs that perform a variety of automated FTP jobs, ... HTH -- //// (@ @) ---------------------------oOO----(_)----OOo------------------------ Los pecados de los tres mundos desapareceran conmigo. Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain) --------------------------------------------------------------------
participants (2)
-
Alexis Roda -
HP Knoll