[Zope-CMF] external method with file as parameter

Dieter Maurer dieter@handshake.de
Tue, 23 Jul 2002 23:44:51 +0200


Kristina Quimson Buenafe writes:
 > How do you create an external method with a file name as a parameter?  I
 > created one and have the text file in the same directory.  The code
 > <dtml-var expr="readIntoMemberListMethod('test.txt')> yieleds errors about
 > test.txt not existing.  Is there a specific format that should be used when
 > for file names as parameters?
"test.txt" is a relative file reference. Such references are resolved
with respect to the current working directory. Unless you changed it,
it is the directory where Zope has been started (do not change it
in a multi-thread environment!).


Dieter