how to open simple text files in zope with python
Hi, Is there any way possible to open/get the contents of simple text files (*.txt) in zope. Or is this prohibited out of security reasons? Stani http://spe.pycs.net _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com
Use an External Method for these kind of operations. PythonScripts run in a restricted environment as documented. -aj --On Sonntag, 17. Oktober 2004 0:28 Uhr -0700 "www.stani.be" <s_t_a_n_i@yahoo.com> wrote:
Hi, Is there any way possible to open/get the contents of simple text files (*.txt) in zope. Or is this prohibited out of security reasons? Stani
_______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Hi, Am So, den 17.10.2004 schrieb www.stani.be um 9:28:
Hi, Is there any way possible to open/get the contents of simple text files (*.txt) in zope. Or is this prohibited out of security reasons? Stani
Where are the "text files"? If in filesystem, plain Zope cannot. For security reasons. (/etc/passwd and co are plain text files too :-) Usually you dont need to bother because you can upload these into Zope. For special cases there exist several solution ranging from external method to localfs and extfile products. Depends on what you really want to do. Regards Tino
participants (3)
-
Andreas Jung -
Tino Wildenhain -
www.stani.be