[Zope-CMF] external method with file as parameter

Kristina Quimson Buenafe kqb7a@virginia.edu
Wed, 24 Jul 2002 11:47:01 -0400


Hi Dieter,

I am using Windows, is the current working directory C:/Program
Files/myZope?  If I would like to use a file that is in my CMF site, how
would I reference it?

thanks,
Kristina

----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "Kristina Quimson Buenafe" <kqb7a@virginia.edu>
Cc: <zope-cmf@zope.org>
Sent: Tuesday, July 23, 2002 5:44 PM
Subject: Re: [Zope-CMF] external method with file as parameter


> 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
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>