Hello all. I'm using DTML with LocalFS to manage files in a site. Is there a way to upload and delete files to the LocalFS object via DTML? Or is there another way to do this to tasks? Sorry for the newbie question but I'm kind of lost. Thanks in advance -- Gerardo Amaya gamaya@aldeacentroamerica.com *************************************** *'Computers are like air conditioners,* * they stop working when you open * * Windows' * ***************************************
Jose Gerardo Amaya Giron writes:
Hello all. I'm using DTML with LocalFS to manage files in a site. Is there a way to upload and delete files to the LocalFS object via DTML? You can do it via the Web interface, right?
Then look at the corresponding page sources and you can learn how to do it. You probably will need to know the correspondence between form actions and form variables on one side and function/method calls on the other. This is what ZPublisher does (it maps URL's and request arguments to function calls). I expect the Zope book to tell you something about this correspondence. If not, read the "ZPublisher" section of <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Dieter
participants (2)
-
Dieter Maurer -
Jose Gerardo Amaya Giron