[Zope] [Q] Problem with copying files

Dieter Maurer dieter@handshake.de
Mon, 6 Aug 2001 22:47:17 +0200 (CEST)


Asko Seeba writes:
 > Another beginner question. I'm using Zope 2.4.0. I try to make a web page,
 > where some files should be copied from one folder to another according to
 > client request. I didn't find any method from DTML API reference for that.
 > Then I tried to find some help from Python scripting, but found frome Zope
 > Help System at Script (Python)->API Reference->PythonScript, that because of
 > security considerations Python Scripts are not allowed to access to the Zope
 > server's file-system.
 > 
 > So, are there any possibility to build a Zope application that copies files
 > on server side from one folder to another.
What do you mean with "folder"? A Zope Folder (part of the Web site)
or a file system folder?

In the first case, you may look at ZShell.
In the second case, you need to use an External Method.


Dieter