File storage on distant server

Author Message

Romain Dausset

Monday 07 May 2007 8:15:41 am

Dear all,

I would like to upload files from ez publish on a storage server ?

Any ideas ?

I thought to add to my customedithandler some actions :

When a file is published, copy it and move it by ftp to my storage server, then delete it on the "ez server".

But i have some problems to change the link to my new file location.
Where can i change it ?

Thks,
Romain.

--
Romain Dausset

rdausset@facileit.com

http://www.facileit.com

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 18 2025 18:26:47
Script start
Timing: Jan 18 2025 18:26:47
Module start 'layout'
Timing: Jan 18 2025 18:26:47
Module start 'content'
Timing: Jan 18 2025 18:26:48
Module end 'content'
Timing: Jan 18 2025 18:26:48
Script end

Main resources:

Total runtime0.6264 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9141152.6250
Module start 'layout' 0.00690.0026 740.539139.4453
Module start 'content' 0.00950.6154 779.9844465.2344
Module end 'content' 0.62490.0015 1,245.21888.3203
Script end 0.6263  1,253.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4973160.0002
Check MTime0.00130.2076160.0001
Mysql Total
Database connection0.00140.216010.0014
Mysqli_queries0.583693.1716460.0127
Looping result0.00040.0704440.0000
Template Total0.599595.720.2997
Template load0.00210.341220.0011
Template processing0.597395.360520.2987
Template load and register function0.00010.017510.0001
states
state_id_array0.00030.050410.0003
state_identifier_array0.00090.140520.0004
Override
Cache load0.00180.2796130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.080910.0005
Fetch class attribute name0.00110.172220.0005
XML
Image XML parsing0.00200.323310.0020
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00240.3780160.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs