On Fri, 2004-05-14 at 04:22, hawelek_tlen wrote:
I don't need to write these files on demand, I need only some function, that will export those 50 files on localmachine, but I want to execute it from the dtml-method, I don't how can I use wget, xml-rpc + python, I'm newbie:)
It might be helpful to understand the higher-level problem you're trying to solve, i.e. Why do you want to get the data out of zope as a dtml method? Do you need to do this once a week, every day or hourly? Why is dtml important? wget is a command line utility that can (among other things), download web pages to your local machine. You could, for instance, create a directory index page that had only a list links to each of the 50 items in your folder. You could then point wget at the index page and have it retrieve all of the linked files. You'll need to look at the wget usage instructions for the details, but it's straightforward. Jud -- Jud <lists@dagnall.net> http://www.dagnall.net