You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by "Dinh, Chinh" <di...@yahoo.com> on 2003/06/19 14:58:12 UTC

question : upload files to Slide content store

Hi 
I have a question about uploading file to Slide by dragging the file from windows explorer to the webfolder.  
I am setting Slide's Domain.xml so that the rootpath points to a directory , say , 
        <contentstore classname="slidestore.reference.FileContentStore">
          <parameter name="rootpath">D:/temp</parameter>
When I browse to my Slide web-app from IE (File -> Open as a WebFolder), after I logged in from the Log-in dialog box, I got to a my Slide content store.  However, there are always 2 directories being shown there .  
 
/files
/actions 
 
If I drag a file to the root to copy a file from my local system to the web server,  it always gave me the error :  "Error occurred copying ..." (I guess it's the Unauthorized error). In order to successfully copy files, i have to browse INTO /files directory , then dragging the file over.  However, if I do this ,  the file will be copied to D:/temp/files/myfile ... 
 
What I want to happen is to 1/ be able to copy the file to my ROOTPATH as it's set up , without having /files directory being created .  2/ When I open to Slide webfolder, I don't want to have 2 directories (/files and /actions) being displayed . Is this something that we can do with the configuration files  ? Thank you so much.  - Chinh
 



---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Tomcat's WEBDAV vs. SLIDE

Posted by DTC <di...@yahoo.com>.
Hi 
I am trying to figure out which one to use for my file upload requirements : using Tomcat 4's implementation of webDAV (delivered as a /webdav web application) vs. using Slide.   I only need to open to webdav as a webfolder, and upload files by dragging them over from Windows Explorer to IE . 
 
Has any of you ever looked into Tomcat's webdav servlet ? 
 
By default, Tomcat�s webDAV does not have a configurable property where we can set the rootpath of where the files will be uploaded to (eg. C:/tmp).  I think TOMCAT�s implementation �PUTs� the file based on a relative path to the webdav web app directory .
Right now, when you drag a file over to the webdav folder, it�s treated as a �PUT� method, and it will invoke �DefaultServlet��s service() to do the uploading.
 
Do you know if it is possible to set an absolute root path with Tomcat's webDAV ? Thanks .
- Chinh
 

---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Re: Simple question

Posted by Martin Holz <ho...@fiz-chemie.de>.
"Dariush Behboudi" <da...@glamm.com> writes:

> Thanks for info,
> don't you know any Zope similar solution written in java?
> I'm looking at openCms.org, but there aren't many external modules, such as
> news, mail, calendar and so on...
> Dariush.

When I looked into cms market two years ago, there where
lots of halfbacked or specialized solution, but none, that
really convinced me. Maybe some got mature, but I don't
know.




---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Simple question

Posted by Dariush Behboudi <da...@glamm.com>.
Thanks for info,
don't you know any Zope similar solution written in java?
I'm looking at openCms.org, but there aren't many external modules, such as
news, mail, calendar and so on...
Dariush.

----- Original Message -----
From: "Martin Holz" <ho...@fiz-chemie.de>
To: <sl...@jakarta.apache.org>
Sent: Friday, June 20, 2003 11:28 AM
Subject: Re: Simple question


> "Dariush Behboudi" <da...@glamm.com> writes:
>
> > Hi everyone,
> > I'm new to slide and as I can see it provides server and client
libreries to
> > build webdav file systems.
> > My simple question is: is there a free web application built over slide,
> > that I can integrate fast into my intranet?
> > Basically I need a document management platform, with authentication,
folder
> > creation, file creation, versioning, search and so on...
> >
> > Am I in trouble?
> > Has slide such as application?
>
> While you could build such a application on top of slide, I am not aware
of
> any free application.
> At VS-C we are currently building something like this, but
> its very specialized for our needs and its not free (at least for now).
>
> You may have a look into Zope (www.zope.org), which is Open Source.
> Its very powerful, but  also very complex.
>
> --
> Martin Holz     <ho...@fiz-chemie.de>
>
> Softwareentwicklung / Vernetztes Studium - Chemie
> FIZ CHEMIE Berlin
> Franklinstrasse 11
> D-10587 Berlin
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Simple question

Posted by Martin Holz <ho...@fiz-chemie.de>.
"Dariush Behboudi" <da...@glamm.com> writes:

> Hi everyone,
> I'm new to slide and as I can see it provides server and client libreries to
> build webdav file systems.
> My simple question is: is there a free web application built over slide,
> that I can integrate fast into my intranet?
> Basically I need a document management platform, with authentication, folder
> creation, file creation, versioning, search and so on...
> 
> Am I in trouble?
> Has slide such as application?

While you could build such a application on top of slide, I am not aware of
any free application. 
At VS-C we are currently building something like this, but
its very specialized for our needs and its not free (at least for now).

You may have a look into Zope (www.zope.org), which is Open Source.
Its very powerful, but  also very complex.

--
Martin Holz     <ho...@fiz-chemie.de>

Softwareentwicklung / Vernetztes Studium - Chemie
FIZ CHEMIE Berlin
Franklinstrasse 11
D-10587 Berlin       



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Simple question

Posted by Dariush Behboudi <da...@glamm.com>.
Hi everyone,
I'm new to slide and as I can see it provides server and client libreries to
build webdav file systems.
My simple question is: is there a free web application built over slide,
that I can integrate fast into my intranet?
Basically I need a document management platform, with authentication, folder
creation, file creation, versioning, search and so on...

Am I in trouble?
Has slide such as application?
Regards, Dariush.



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: question : upload files to Slide content store

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
> Thanks for your response.  I still have the problem that I described previously .
> If I set my content store's rootpath to C:/temp 
>  
> and if I have scope set to /files in web.xml , yes , I won't see /files, /actions/ and /users anymore, BUT when you copy a file over to the web folder, the file will be saved in C:/temp/files/myfile   , not C:/temp/myfile as I want it to be .   
>  
> I tried to set scope to "/" , but it didn't work either.  Thanks.
> Chinh

Sorry, I thought it was obvious now. Try setting your rootpath to C:,
the filespath to /temp and the scope to /temp. Be aware that this
creates "users" and "actions" folders in the root of your C partition.

> 
> Ingo Brunberg <ib...@fiz-chemie.de> wrote:
> > Thank you for your help. My question is still whether or not we can
> > prevent Slide from showing the 3 ("virtual") folders (/files,
> > /actions, and /users) to the user when he/she logs in to Slide ? I
> > think Slide creates these 3 folders by default , and they don't
> > physically exist in the content store, but showing these 3 folders
> > to the users would cause some confusion ... Do you know if it's
> > still a configurable thing to do ? Thanks . - Ch.
> 
> As I said, have a look into Slide's web.xml file. There you will find
> the answer to your question. In short, if you set the scope parameter
> to "/files" only the contents in this folder will be exposed to the
> clients.
> 
> > 
> > Ingo Brunberg wrote: Have a look at the scope
> > parameter in web.xml and the filespath parameter in Domain.xml.
> > 
> > Regards, Ingo
> > 
> > > Hi I have a question about uploading file to Slide by dragging the
> > > file from windows explorer to the webfolder. I am setting Slide's
> > > Domain.xml so that the rootpath points to a directory , say ,
> > > > classname="slidestore.reference.FileContentStore">
> > > 
> > D:/temp
> > When I
> > > browse to my Slide web-app from IE (File -> Open as a WebFolder),
> > > after I logged in from the Log-in dialog box, I got to a my Slide
> > > content store. However, there are always 2 directories being shown
> > > there .
> > > 
> > > /files /actions
> > > 
> > > If I drag a file to the root to copy a file from my local system
> > > to the web server, it always gave me the error : "Error occurred
> > > copying ..." (I guess it's the Unauthorized error). In order to
> > > successfully copy files, i have to browse INTO /files directory ,
> > > then dragging the file over. However, if I do this , the file will
> > > be copied to D:/temp/files/myfile ...
> > > 
> > > What I want to happen is to 1/ be able to copy the file to my
> > > ROOTPATH as it's set up , without having /files directory being
> > > created . 2/ When I open to Slide webfolder, I don't want to have
> > > 2 directories (/files and /actions) being displayed . Is this
> > > something that we can do with the configuration files ? Thank you
> > > so much. - Chinh


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: question : upload files to Slide content store

Posted by DTC <di...@yahoo.com>.
Thanks for your response.  I still have the problem that I described previously .
If I set my content store's rootpath to C:/temp 
 
and if I have scope set to /files in web.xml , yes , I won't see /files, /actions/ and /users anymore, BUT when you copy a file over to the web folder, the file will be saved in C:/temp/files/myfile   , not C:/temp/myfile as I want it to be .   
 
I tried to set scope to "/" , but it didn't work either.  Thanks.
Chinh

Ingo Brunberg <ib...@fiz-chemie.de> wrote:
> Thank you for your help. My question is still whether or not we can
> prevent Slide from showing the 3 ("virtual") folders (/files,
> /actions, and /users) to the user when he/she logs in to Slide ? I
> think Slide creates these 3 folders by default , and they don't
> physically exist in the content store, but showing these 3 folders
> to the users would cause some confusion ... Do you know if it's
> still a configurable thing to do ? Thanks . - Ch.

As I said, have a look into Slide's web.xml file. There you will find
the answer to your question. In short, if you set the scope parameter
to "/files" only the contents in this folder will be exposed to the
clients.

> 
> Ingo Brunberg wrote: Have a look at the scope
> parameter in web.xml and the filespath parameter in Domain.xml.
> 
> Regards, Ingo
> 
> > Hi I have a question about uploading file to Slide by dragging the
> > file from windows explorer to the webfolder. I am setting Slide's
> > Domain.xml so that the rootpath points to a directory , say ,
> > > classname="slidestore.reference.FileContentStore">
> > 
> D:/temp
> When I
> > browse to my Slide web-app from IE (File -> Open as a WebFolder),
> > after I logged in from the Log-in dialog box, I got to a my Slide
> > content store. However, there are always 2 directories being shown
> > there .
> > 
> > /files /actions
> > 
> > If I drag a file to the root to copy a file from my local system
> > to the web server, it always gave me the error : "Error occurred
> > copying ..." (I guess it's the Unauthorized error). In order to
> > successfully copy files, i have to browse INTO /files directory ,
> > then dragging the file over. However, if I do this , the file will
> > be copied to D:/temp/files/myfile ...
> > 
> > What I want to happen is to 1/ be able to copy the file to my
> > ROOTPATH as it's set up , without having /files directory being
> > created . 2/ When I open to Slide webfolder, I don't want to have
> > 2 directories (/files and /actions) being displayed . Is this
> > something that we can do with the configuration files ? Thank you
> > so much. - Chinh


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Re: question : upload files to Slide content store

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
> Thank you for your help.  My question is still whether or not we can
> prevent Slide from showing the 3 ("virtual") folders (/files,
> /actions, and /users) to the user when he/she logs in to Slide ?  I
> think Slide creates these 3 folders by default , and they don't
> physically exist in the content store, but showing these 3 folders
> to the users would cause some confusion ...  Do you know if it's
> still a configurable thing to do ?  Thanks .  - Ch.

As I said, have a look into Slide's web.xml file. There you will find
the answer to your question. In short, if you set the scope parameter
to "/files" only the contents in this folder will be exposed to the
clients.

> 
> Ingo Brunberg <ib...@fiz-chemie.de> wrote: Have a look at the scope
> parameter in web.xml and the filespath parameter in Domain.xml.
> 
> Regards, Ingo
> 
> > Hi I have a question about uploading file to Slide by dragging the
> > file from windows explorer to the webfolder. I am setting Slide's
> > Domain.xml so that the rootpath points to a directory , say ,
> > > classname="slidestore.reference.FileContentStore">
> > 
> D:/temp
>  When I
> > browse to my Slide web-app from IE (File -> Open as a WebFolder),
> > after I logged in from the Log-in dialog box, I got to a my Slide
> > content store. However, there are always 2 directories being shown
> > there .
> > 
> > /files /actions
> > 
> > If I drag a file to the root to copy a file from my local system
> > to the web server, it always gave me the error : "Error occurred
> > copying ..." (I guess it's the Unauthorized error). In order to
> > successfully copy files, i have to browse INTO /files directory ,
> > then dragging the file over. However, if I do this , the file will
> > be copied to D:/temp/files/myfile ...
> > 
> > What I want to happen is to 1/ be able to copy the file to my
> > ROOTPATH as it's set up , without having /files directory being
> > created . 2/ When I open to Slide webfolder, I don't want to have
> > 2 directories (/files and /actions) being displayed . Is this
> > something that we can do with the configuration files ? Thank you
> > so much. - Chinh


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: question : upload files to Slide content store

Posted by "Dinh, Chinh" <di...@yahoo.com>.
Thank you for your help.  
My question is still whether or not we can prevent Slide from showing the 3 ("virtual") folders (/files, /actions, and /users) to the user when he/she logs in to Slide  ?  I think Slide creates these 3 folders by default , and they don't physically exist in the content store, but showing these 3 folders to the users would cause some confusion ...  Do you know if it's still a configurable thing to do ?  Thanks .  - Ch.

Ingo Brunberg <ib...@fiz-chemie.de> wrote:
Have a look at the scope parameter in web.xml and the filespath
parameter in Domain.xml.

Regards,
Ingo

> Hi I have a question about uploading file to Slide by dragging the
> file from windows explorer to the webfolder. I am setting Slide's
> Domain.xml so that the rootpath points to a directory , say ,
> > classname="slidestore.reference.FileContentStore">
> 
D:/temp
 When I
> browse to my Slide web-app from IE (File -> Open as a WebFolder),
> after I logged in from the Log-in dialog box, I got to a my Slide
> content store. However, there are always 2 directories being shown
> there .
> 
> /files /actions
> 
> If I drag a file to the root to copy a file from my local system to
> the web server, it always gave me the error : "Error occurred
> copying ..." (I guess it's the Unauthorized error). In order to
> successfully copy files, i have to browse INTO /files directory ,
> then dragging the file over. However, if I do this , the file will
> be copied to D:/temp/files/myfile ...
> 
> What I want to happen is to 1/ be able to copy the file to my
> ROOTPATH as it's set up , without having /files directory being
> created . 2/ When I open to Slide webfolder, I don't want to have 2
> directories (/files and /actions) being displayed . Is this
> something that we can do with the configuration files ? Thank you so
> much. - Chinh


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Re: question : upload files to Slide content store

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Have a look at the scope parameter in web.xml and the filespath
parameter in Domain.xml.

Regards,
Ingo

> Hi I have a question about uploading file to Slide by dragging the
> file from windows explorer to the webfolder.  I am setting Slide's
> Domain.xml so that the rootpath points to a directory , say ,
>         <contentstore
>         classname="slidestore.reference.FileContentStore">
>           <parameter name="rootpath">D:/temp</parameter> When I
> browse to my Slide web-app from IE (File -> Open as a WebFolder),
> after I logged in from the Log-in dialog box, I got to a my Slide
> content store.  However, there are always 2 directories being shown
> there .
>  
> /files /actions
>  
> If I drag a file to the root to copy a file from my local system to
> the web server, it always gave me the error : "Error occurred
> copying ..." (I guess it's the Unauthorized error). In order to
> successfully copy files, i have to browse INTO /files directory ,
> then dragging the file over.  However, if I do this , the file will
> be copied to D:/temp/files/myfile ...
>  
> What I want to happen is to 1/ be able to copy the file to my
> ROOTPATH as it's set up , without having /files directory being
> created .  2/ When I open to Slide webfolder, I don't want to have 2
> directories (/files and /actions) being displayed . Is this
> something that we can do with the configuration files ? Thank you so
> much.  - Chinh


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org