HowTo Download Files
Hello, I have a problem with allowing clients to download files from a Zope folder. The HTML tag is as follows: <P><AHREF="/some_folder/Download/AvsB">AvB</A></P> With "AvB" being the Zope ID in the Download folder. There is an acl_users folder on the "some_folder" directory and the user belongs to the correct group. All sub-folders obtain their permissions from "some_folder". When a client tries to save the file, the client gets the following message: "Cannot copy. Cannot find the file specified." Any ideas? Thanks in advance, Roy W. Martin rwmarti@nuecesgroup.com
Roy Martin wrote:
Hello,
I have a problem with allowing clients to download files from a Zope folder. The HTML tag is as follows:
<P><AHREF="/some_folder/Download/AvsB">AvB</A></P>
^ space? ^^ ^^ is it AvB or AvsB? have you tried this: <dtml-with some_folder> <dtml-with Download> <p><a href="<dtml-var "AvB.absolute_url()">">AvB</a> </dtml-with> </dtml-with> This will at least throw a key error if Zope can't find it. If you're in Download, I recommend: <dtml-in "objectValues(['File'])"> <p><a href="&dtml.url-sequence-item;"><dtml-var title_or_id></a> </dtml-in> -- http://mindlace.net____________________mindlace@imeme.net I don't want The Truth but I wouldn't mind a Big Analogy.
participants (2)
-
mindlace -
Roy Martin