Need help on file download with binary handlers ?

Author Message

H-Works Agency

Friday 01 February 2008 1:06:01 pm

Hello,

How the binary handlers works ?

I have some customs handlers in extensions i downloaded from contribs but there is no exemple of how to compose the link :

- Is it a link to the node name like : /content/download/{$mybinaryhandlername}/my_url_alias ?

- What kind of handler is used for the "default" download of file in EZP : /content/download/ID/ID/filename : Is it "ezfiledirect" or "ezfilepasstrough" ?

What is the aim of those handlers ? Why not just downloading with a direct link to the var dir ?

EZP is Great

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:16:38
Script start
Timing: Jan 31 2025 06:16:38
Module start 'layout'
Timing: Jan 31 2025 06:16:38
Module start 'content'
Timing: Jan 31 2025 06:16:38
Module end 'content'
Timing: Jan 31 2025 06:16:38
Script end

Main resources:

Total runtime0.0137 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2656151.2266
Module start 'layout' 0.00480.0019 739.492236.6797
Module start 'content' 0.00670.0056 776.171986.2188
Module end 'content' 0.01230.0014 862.390629.9922
Script end 0.0137  892.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.9496140.0002
Check MTime0.00107.3891140.0001
Mysql Total
Database connection0.00075.431210.0007
Mysqli_queries0.001813.453830.0006
Looping result0.00000.066010.0000
Template Total0.00107.510.0010
Template load0.00085.766210.0008
Template processing0.00021.661110.0002
Override
Cache load0.00053.851610.0005
General
dbfile0.001510.570780.0002
String conversion0.00000.029540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs