Forums / Developer / Need help on file download with binary handlers ?

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

eZ debug

Timing: Jan 20 2025 20:10:11
Script start
Timing: Jan 20 2025 20:10:11
Module start 'content'
Timing: Jan 20 2025 20:10:11
Module end 'content'
Timing: Jan 20 2025 20:10:11
Script end

Main resources:

Total runtime0.0187 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.8438180.8125
Module start 'content' 0.00510.0057 768.656389.9609
Module end 'content' 0.01080.0078 858.617266.7031
Script end 0.0186  925.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002211.6163120.0002
Check MTime0.00105.2821120.0001
Mysql Total
Database connection0.00073.519710.0007
Mysqli_queries0.002010.467340.0005
Looping result0.00000.058720.0000
Template Total0.007539.910.0075
Template load0.00094.718410.0009
Template processing0.006635.179010.0066
Override
Cache load0.00063.327110.0006
General
dbfile0.004323.2312100.0004
String conversion0.00000.021730.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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