File Paths?

Author Message

Cori Roberts

Saturday 01 August 2009 10:09:09 am

Can anyone tell me the path is to where files are stored? Such as video and images? I cannot get Lukaz extension to work so I cannot mass upload files and any video files are too large to upload, they simply time out.

I'd like to FTP them in if possible. Any help appreciated.

Robin Muilwijk

Saturday 01 August 2009 12:26:00 pm

Hi,

I'm no experienced eZ user, so don't hold me to the answer but have a look at http://ez.no/doc/ez_publish/technical_manual/4_0/reference/datatypes/image, scroll down to the "storage" part of that doc page where it tells you where files of the datatype image get stored.

Regards, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Gaetano Giunta

Sunday 02 August 2009 1:49:54 pm

NB: just uploading binary files to the right place via FTP is not enough to create in eZ Publish the corresponding content objects.
Maybe you will be better off using an import script written in php - when running it via command line (eg. as cronjob) there is no php timeout, and you can set the memory limit as high as you desire...

PS: @Cori: Sorry if this answer involves some php coding: I have seen from your previous posts that you are coming from a non-developer background.

There are in fact some other extensions out there or some other, easier ways to accomplish what you want. Just be warned that a plain ftp upload is not enough.

You might for example have better luck activating the webdav functionality of eZ Publish ans using webdav access for upload.
Webdav is, in short, a file transfer protocol, just like ftp, but designed on top of the http protocol (the protocol used by webservers to deliver web pages to browsers).
You can enable it in eZ Publish by changing some settings in the site.ini file.
You can then map the eZ Publish server as if it was a network share in your pc and drag and drop your images and videos to it.
There might be more or less problems depending on the operating system you are using - windows is really bad at using webdav, unless you use a very recent/patched version.
There is more info about webdav on the site, you can easily search for it.

Principal Consultant International Business
Member of the Community Project Board

Cori Roberts

Sunday 02 August 2009 6:08:21 pm

Hi there!

Yes I've looked at the Web Dav setting but if I enable that on MY server then I lose FTP access which I'd like to keep. I'm not at all comfortable running EVERYTHING From the command line.

If you know of some other extension that can accomplish this then please point me at it. :)

And THANK YOU for offering something other than extremely complicated fix, I appreciate it greatly.

Heath

Monday 03 August 2009 1:40:44 am

I don't know if you can use ezftp *
but it does currently provide an
alternative to webdav or import scripts. [0]

Though it may require more development
in some fashion or another to be immediately
useful to someone such as yourself.

Cheers,
Heath

[0] http://projects.ez.no/ezftp

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Cori Roberts

Monday 03 August 2009 1:47:44 am

Hi Heath!

I was just looking at that a few minutes ago actually and I believe it's saying it's not stable and I'm not that well versed to trust my skills in fixing it if I mess up the installation somehow or even getting to work on the first place.

Heath

Monday 03 August 2009 1:52:25 am

Your correct. For some users it is not very useful or stable. Good pointing out.

Your options are naturally limited but not closed.

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 15:07:18
Script start
Timing: Jan 18 2025 15:07:18
Module start 'layout'
Timing: Jan 18 2025 15:07:18
Module start 'content'
Timing: Jan 18 2025 15:07:19
Module end 'content'
Timing: Jan 18 2025 15:07:19
Script end

Main resources:

Total runtime0.9256 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.9063152.6250
Module start 'layout' 0.00580.0032 740.531339.4297
Module start 'content' 0.00900.9153 779.9609675.2031
Module end 'content' 0.92430.0012 1,455.164120.1953
Script end 0.9256  1,475.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3297160.0002
Check MTime0.00120.1350160.0001
Mysql Total
Database connection0.00060.064510.0006
Mysqli_queries0.860192.9245730.0118
Looping result0.00110.1167710.0000
Template Total0.893596.520.4467
Template load0.00220.234120.0011
Template processing0.891396.294820.4457
Template load and register function0.00020.025510.0002
states
state_id_array0.00100.112310.0010
state_identifier_array0.00130.144820.0007
Override
Cache load0.00190.2094470.0000
Sytem overhead
Fetch class attribute can translate value0.00050.056740.0001
Fetch class attribute name0.00100.1031100.0001
XML
Image XML parsing0.00170.180840.0004
class_abstraction
Instantiating content class attribute0.00000.0021110.0000
General
dbfile0.00160.1767310.0001
String conversion0.00000.000940.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/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: 30
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs