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