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

eZ debug

Timing: Jan 18 2025 10:30:53
Script start
Timing: Jan 18 2025 10:30:53
Module start 'content'
Timing: Jan 18 2025 10:30:54
Module end 'content'
Timing: Jan 18 2025 10:30:54
Script end

Main resources:

Total runtime1.0209 sec
Peak memory usage4,096.0000 KB
Database Queries210

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0114 588.8203180.8438
Module start 'content' 0.01140.8713 769.6641680.2813
Module end 'content' 0.88270.1380 1,449.9453341.0859
Script end 1.0207  1,791.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4133210.0002
Check MTime0.00160.1526210.0001
Mysql Total
Database connection0.00170.162210.0017
Mysqli_queries0.931591.23792100.0044
Looping result0.00280.27512080.0000
Template Total0.985896.620.4929
Template load0.00210.209320.0011
Template processing0.983696.347420.4918
Template load and register function0.00010.014510.0001
states
state_id_array0.00090.087910.0009
state_identifier_array0.00120.119420.0006
Override
Cache load0.00190.1869470.0000
Sytem overhead
Fetch class attribute can translate value0.00140.136950.0003
Fetch class attribute name0.00130.1301100.0001
XML
Image XML parsing0.00190.190450.0004
class_abstraction
Instantiating content class attribute0.00000.0019110.0000
General
dbfile0.00240.2315420.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs