[Zope] Returning a protected file

Jean Jordaan jean at upfrontsystems.co.za
Fri Aug 15 16:18:30 EDT 2003


> This almost works, but the file is returned with the name
> 'get', instead of 'foo.tar.gz'. Any idea how to get the
> file returned under the correct name?

Ah, got it :)  Change the URL to look like this:

   http://anon:9999/feko/get/foo.tar.gz?key=IM5R5M

Make 'get' a Python Script, and subscript 'traverse_subpath'
to get the filename (foo.tar.gz) to return.

Muuuch better.

-- 
Jean Jordaan
http://www.upfrontsystems.co.za




More information about the Zope mailing list