The first example is a passthrough and will utilise eZ access checking etc, ensuring that the user accesing the file has the correct permissions to view the file (based on access to the parent object).
The second example will be a direct link to the file.
Thanks Bruce. [Looking at this again, I should have been able to work this out myself. Must have been a bad day ;-]
Wouldn't it be nice to have the 'passthrough' URL available as a property of the binary_file attribute, just like the filepath (ie. 'direct link'), instead of having to create it using that horrible concat() statment (with all those naughty hard-coded partial path names). Were do I apply to make this happen?
You must be logged in to post messages in this topic!