Re: upload - webdav

2003-04-04 Thread Geoff Howard
At 07:44 AM 4/4/2003, you wrote: Sorry for the late answer. I have been OOTO this week. Olivier GUCKERT wrote: Now, i can use protected webdav directory to serve files with Cocoon : thanks Guido. What i want to do yet et upload files with Cocoon to this protected webdav directory

Re: upload - webdav

2003-04-04 Thread Guido Casper
Geoff Howard wrote: At 07:44 AM 4/4/2003, you wrote: Sorry for the late answer. I have been OOTO this week. Olivier GUCKERT wrote: Now, i can use protected webdav directory to serve files with Cocoon : thanks Guido. What i want to do yet et upload files with Cocoon to this protected

allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Hello, I want my users to be able to upload pdf files in a WebDav directory, protected by login password (just cocoon 'know' this password. I try to use upload.xsp but dont know how to configure web.xml to provide this access. Does somebody know or show me a way ? Thanks Olivier

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Geoff Howard
It's not clear below: do you want to use cocoon's upload facility, or webdav? Geoff At 03:54 AM 4/2/2003, you wrote: Hello, I want my users to be able to upload pdf files in a WebDav directory, protected by login password (just cocoon 'know' this password. I try to use upload.xsp but dont know

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Geoff Howard a écrit : It's not clear below: do you want to use cocoon's upload facility, or webdav? Geoff yes y do. I want to upload a file (IE with upload.xsp) but not on my HD, on a webdav directory. Do you know how to do

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Geoff Howard
I'm sorry - I must need more coffee. It's still not clear to me. Here's my best guess: You want to upload to upload.xsp, but select a file not from your hard drive but from a local shortcut to a webdav directory? I don't think windows/IE will let you do that. In my experience with webdav

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
The end user produce a pdf file and use cocoon (via upload.xsp) to publish it : upload.xsp provides the end user to select a pdf file and upload it to the server. I just want the server to store this file not on the server HD, but in a webdav directory on an other server. I don't know how

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Geoff Howard
stream to a webdav repository on another server from within an action. Geoff Howard At 09:24 AM 4/2/2003, you wrote: The end user produce a pdf file and use cocoon (via upload.xsp) to publish it : upload.xsp provides the end user to select a pdf file and upload it to the server. I just want the server

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Ok, thanks a lot, i will have a look at cocoon wiki ! Geoff Howard a écrit : I see. The server itself has access to a webdav folder on a third machine. As far as I know, there will not be a way to automatically handle this because cocoon's uploads are using java.io.File to automatically

upload - webdav

2003-03-31 Thread Olivier GUCKERT
Now, i can use protected webdav directory to serve files with Cocoon : thanks Guido. What i want to do yet et upload files with Cocoon to this protected webdav directory. Is it a simple way to do this ? Thanks Olivier

file upload

2003-02-20 Thread David Kavanagh
Ok, I'm starting to get it... Let me see if this is right. I found the FileUploadWithAction page on the CocoonWiki, so I just configure cocoon to save the uploaded files, then write an action to call POI to generate XML from that saved XSL file... sound good? David

Cocoon file upload

2002-12-18 Thread Siraj Shakil
Hello Guys, How do u know the uploaded file name using Cocoon file upload mechanism? I only see that uploaded url is upload : and can see the upload file directory. Any suggestions? Thanks in advance. Best regards, Shakil __ Do you Yahoo!? Yahoo

RE: Cocoon file upload

2002-12-18 Thread Geoff Howard
http://marc.theaimsgroup.com/?l=xml-cocoon-usersw=2r=1s=uploadq=b -Original Message- From: Siraj Shakil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 9:50 AM To: [EMAIL PROTECTED] Subject: Cocoon file upload Hello Guys, How do u know the uploaded file name

upload-dir

2002-12-13 Thread Olivier GUCKERT
Hello I want to use the upload.xsp, but i need to configure different upload-dir. I see that there is a parameter in web.xml : param-nameupload-directory/param-name param-value/WEB-INF/work/upload-dir/param-value but there's no reference to this parameter in the upload.xsp Does

RE: upload-dir

2002-12-13 Thread Geoff Howard
upload xsp does reference the setting: File uploadDir = null; /** Contextualize this class */ public void contextualize(Context context) throws ContextException { uploadDir = (File) context.get(Constants.CONTEXT_UPLOAD_DIR); } When cocoon starts up, it places the value of the upload

RE: How can i have both upload and saving to Xindice on click of a button?

2002-12-12 Thread Ray Martin
Sir, Cocoon places the uploaded file into a default directory. The default directory is C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\cocoon\cocoon-files\upload-dir. I use a Cocoon action to pick up the uploaded file from the default directory and place it where ever i want

How can i have both upload and saving to Xindice on click of a button?

2002-12-11 Thread Sreenivasan N.
Hi all I am planning to design a user interface where the user upload documents say pdf, word, excel. I will also capture some information like author name, description entered by the user which then get saved in Xindice. I want to do the upload and the save on click of a button. Any idea

cocoon-2.0.4 problem with multipart file upload

2002-12-10 Thread Sternath Elmar
Hello, after cocoon-2.0.4 upgrade the following check inside my self-implemented UploadGenerator (transfers an uploaded multipart file to a backend server, receives an XML response from the backend server and transforms it into HTML) does not become true any more: if

RE: cocoon-2.0.4 problem with multipart file upload

2002-12-10 Thread Geoff Howard
Yes, maybe. Check to make sure that the new upload settings in web.xml (new in 2.0.4) are set to allow uploads. There are several init-params (such as autosave-uploads), and down later in web.xml there is a configuration for the request factory implementation. The comments in web.xml should

AW: cocoon-2.0.4 problem with multipart file upload

2002-12-10 Thread Sternath Elmar
Thanks Geoff, indeed it was the autosave-uploads param I had to set to true. -Ursprüngliche Nachricht- Von: Geoff Howard [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. Dezember 2002 18:15 An: [EMAIL PROTECTED] Betreff: RE: cocoon-2.0.4 problem with multipart file upload Yes, maybe

File upload with Cocoon

2002-11-08 Thread Volker Schneider
Dear colleagues, does anybody know how I can do a file upload using the html input type=file ../ tag? Do you have an example pipeline? What shall I do with the result? Where can I get the content of the selected file from? Thank you, best regards - Volker

Re: File upload with Cocoon

2002-11-08 Thread Bertrand Delacretaz
On Friday 08 November 2002 10:15, Volker Schneider wrote: does anybody know how I can do a file upload using the html input type=file ../ tag? This might help: http://outerthought.net/wiki/Wiki.jsp?page=FileUploadWithAction -Bertrand

RE: File upload with Cocoon

2002-11-08 Thread Ray Martin
. Of course, your pipeline answers the match for handling the form. And guess what, the file is sitting on my server at c:\program files\apache group\tomcat 4.1\work\standalone\localhost\cocoon\cocoon-files\upload-dir. IT'S A BEAUTIFUL THING. But, ya know, it is just like i tell the folks that i work

Re: File upload with Cocoon (how about a summary?)

2002-11-08 Thread Bertrand Delacretaz
On Friday 08 November 2002 13:40, Ray Martin wrote: . . . But, ya know, it is just like i tell the folks that i work with - You may have done the greatest things, but unless you can tell others (written) about what you have done - you have done nothing. . . . Sure - we're all aware of the

Re: File upload with Cocoon

2002-11-08 Thread Oskar Casquero
] To: [EMAIL PROTECTED] Sent: Friday, November 08, 2002 1:40 PM Subject: RE: File upload with Cocoon Sir, Someone pointed out to me that Cocoon handles file uploading for you. I was rather skeptical - but, i just tried it and it works. On client machine, i used a browser and my form with an enctype

Re: File upload with Cocoon

2002-11-08 Thread Geoff Howard
Also see the file upload example at: /samples/xsp/upload and look at the javadocs for org.apache.cocoon.components.request.multipart.FilePartFile which can give you a reference to the File stored on disk (automatically by default) or an InputStream to read the contents and do something with them

Re: File upload with Cocoon

2002-11-08 Thread Geoff Howard
--- Oskar Casquero [EMAIL PROTECTED] wrote: And what can I do to disable cocoon's automatic file uploading? I want to send files to cocoon but not to save them in disk you configure it in web.xml: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103676501932187w=2 And another question about

Upload troubles....

2002-10-08 Thread Ganael LAPLANCHE
Hi all ! I've got a little problem with cocoon upload... My project has to unzip a file once it's been uploaded, this is done with an xsp page. My problem is the file doesn't exist (nearly each time I upload a file) when the code is executed ! (the file.exists() java method returns false) I

Re: Upload troubles....

2002-10-08 Thread Ganael LAPLANCHE
Nobody can help me ? - Original Message - From: Ganael LAPLANCHE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 9:58 AM Subject: Upload troubles Hi all ! I've got a little problem with cocoon upload... My project has to unzip a file once it's been

RE: Upload troubles....

2002-10-08 Thread Greg Jones
If your doing a file upload, then cocoon catches those uploads and put them into the file-upload directory specified by the cocoon.xconf. This is a big irritant for me. As I now have to go to a central location and perform file management. Basically, when the file is uploaded, cocoon saves

Upload bug ?

2002-10-07 Thread Ganael LAPLANCHE
Hi all ! I've got a little problem with cocoon upload... My project has to unzip a file once it's been uploaded, this is done with an xsp page. My problem is the file doesn't exist (nearly each time I upload a file) when the code is executed ! The file.exists() java method returns false... I

Re: file-upload-overwrite permission

2002-09-12 Thread Vadim Gritsenko
Niket Anand wrote: Hello All, I am able to upload any file to /WEB-INF/work/image-dir directory as specified in web.xml file. If I want to upload same file again, it saves to directory with 1_image.gif name(it saves with new file name by appending 1_ before actual file name). I donot want

upload file-overwrite permission(Waiting for reply...)

2002-09-10 Thread Niket Anand
Hello All, I am able to upload any file to /WEB-INF/work/image-dir directory as specified in web.xml file. If I want to upload same file again, it saves to directory with 1_image.gif name(it saves with new file name by appending 1_ before actual file name). I donot want to save it with new name

Re: upload file-overwrite permission(Waiting for reply...)

2002-09-10 Thread Jeroen ter Voorde
: upload file-overwrite permission(Waiting for reply...) Hello All, I am able to upload any file to /WEB-INF/work/image-dir directory as specified in web.xml file. If I want to upload same file again, it saves to directory with 1_image.gif name(it saves with new file name by appending 1_

file-upload-overwrite permission

2002-09-09 Thread Niket Anand
Hello All, I am able to upload any file to /WEB-INF/work/image-dir directory as specified in web.xml file. If I want to upload same file again, it saves to directory with 1_image.gif name(it saves with new file name by appending 1_ before actual file name). I donot want to save it with new name

upload file-overwrite permission

2002-09-09 Thread Niket Anand
Hello All, I am able to upload any file to /WEB-INF/work/image-dir directory as specified in web.xml file. If I want to upload same file again, it saves to directory with 1_image.gif name(it saves with new file name by appending 1_ before actual file name). I donot want to save it with new name

Re: Upload problem :( Windows related (again...)

2002-09-05 Thread Ganael LAPLANCHE
Title: Nachricht Sascha, Could you post the mod plz ? - Original Message - From: Sascha Kulawik To: [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 8:38 PM Subject: RE: Upload problem :( Windows related (again...) I know that problem and have

Upload problem :( Windows related (again...)

2002-08-27 Thread Ganael LAPLANCHE
Hi ! I'm trying to upload files tothe cocoonupload directory (on a LINUX machine)... It works... BUT, It works correctly if I upload a file from a UNIX machine... The file is stored with its "small" file name (not with the whole path, which is OK). If I upload a file from a zind

RE: Upload problem :( Windows related (again...)

2002-08-27 Thread Sascha Kulawik
]Subject: Upload problem :( Windows related (again...) Hi ! I'm trying to upload files tothe cocoonupload directory (on a LINUX machine)... It works... BUT, It works correctly if I upload a file from a UNIX machine... The file is stored with its "small"

upload revisted

2002-08-13 Thread Kenny Chow
Hi Cocooners, Having read through the mailing list on 'upload' issue, I know that many people want to override the default upload behaviour. And Vadim, if I remember correctly, suggested have a look at the org.apache.cocoon.components.multipart package. So last night I was going through

Re: upload revisted

2002-08-13 Thread Kenny Chow
Ok, I found out it is the CocoonServlet that does the upload behind the scene. Now I am to write an upload action extending AbstractAction, I just find out the Request object is not compatible to the default HttpServletRequest object. does anyone know how am I able to get HttpServletRequest

How to get the upload-diretory inside an Action?

2002-07-26 Thread Fabricio Chalub
Hello, I can get the uplodaded_file inside an Action fine, but can I get the upload-diretory web.xml parameter? The upload.xsp file gives me an example, but apparently the Context object it uses is not the same Context one gets by using ObjectModelHelper.getContext(objectModel). Thanks

RE: Upload

2002-07-18 Thread Vadim Gritsenko
From: Amir Rosen [mailto:[EMAIL PROTECTED]] Hi, Is there a (simple) way to override the default cocoon behavior when uploading a file ? Is there a role I should implement and configure ? See //components/request/RequestFactory, and request-factory servlet init parameter in web.xml

Upload

2002-07-17 Thread Amir Rosen
Hi, Is there a (simple) way to override the default cocoon behavior when uploading a file ? Is there a role I should implement and configure ? Thanks, Amir Rosen CTI Squared [EMAIL PROTECTED] +972-9-9605200 (258) - Please

upload directory

2002-06-25 Thread Philipp Bößem
hi, i can't find where to change my upload directory. i tried it in tomcat and also in cocoon2, but couldn#t find it. would be nice, to give me a hint, where to change it. thanks - Please check that your question has

Re: upload directory

2002-06-25 Thread Gerhard Hipfinger
Hi Philipp, look at the web.xml file in cocoons WEB-INF directory. There you find a parameter upload-directory. Hope this helps, Gerhard Philipp Bößem wrote: hi, i can't find where to change my upload directory. i tried it in tomcat and also in cocoon2, but couldn#t find it. would be nice

AW: upload directory

2002-06-25 Thread Philipp Bößem
thanks, it works. -Ursprüngliche Nachricht- Von: Gerhard Hipfinger [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 25. Juni 2002 08:53 An: [EMAIL PROTECTED] Betreff: Re: upload directory Hi Philipp, look at the web.xml file in cocoons WEB-INF directory. There you find a parameter

Upload/HTTP-Post-Request

2002-06-14 Thread Lutz Lenzen
Hi, I have a question about uploads. When cocoon receives any HTTP-post-request with an upload-file (multipar/form-data), the file is uploaded in the default-upload-dir even if the request causes a server-error (and no pipeline is initiated). So it seems, that the upload is done by cocoon

Re: Upload/HTTP-Post-Request

2002-06-14 Thread Jeroen ter Voorde
You can't. Nicola Ken suggested that the upload mechanism should be rewritten. I'm willing to do this (including some major speedups of the multipart parser) but i could use some pointers how to do this. Jeroen - Original Message - From: Lutz Lenzen [EMAIL PROTECTED] To: [EMAIL

Re: Upload/HTTP-Post-Request

2002-06-14 Thread Nicola Ken Barozzi
Jeroen ter Voorde wrote: Nicola Ken suggested that the upload mechanism should be rewritten. I'm willing to do this (including some major speedups of the multipart parser) but i could use some pointers how to do this. Well, here are some small pointers: 1- check out the upload component

Re: Vadim : RE: XSP Upload example - I do not understand

2002-06-12 Thread Jeroen ter Voorde
Subject: RE: Vadim : RE: XSP Upload example - I do not understand Thanks a million I understand it now... Let me try to clarify 1. Upload directory is read from init parameter. Hence it is kinda fixed . 2. We do not get the control of uploaded files. As soon as the Cocoon gets

Re: Vadim : RE: XSP Upload example - I do not understand

2002-06-12 Thread Nicola Ken Barozzi
Jeroen ter Voorde wrote: Hi, You can use an action to move the attachment to where you want. Here's how: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=101878098524370w=2 Or fix the upload mechanism ;-) Having to pass upload stuff conf to Cocoon directly is an ugly hack, that nobody

upload parameter don't return FilePartFile object

2002-06-12 Thread Gerhard Hipfinger
Hi! I still have problems with the file upload functionality. When I try to get the parameter with the uploaded file, the parameter is of String type and not of FilePartFile! Here is an example code: ?xml version=1.0 encoding=UTF-8? xsp:page language=java xmlns:xsp=http://apache.org/xsp

XSP Upload example - I do not understand

2002-06-11 Thread Stefan Riegel
Hello, everybody, I do not understand the XSP upload example. Yes, it works fine, but I would like to understand as much as possible. I guess their is some magic behind the scene. I did some reading of the API Javadoc, but I'am still not experienced enough reading source code. What to do

Vadim : RE: XSP Upload example - I do not understand

2002-06-11 Thread Chitharanjan Das
Hello Vadim... If you might explain the upload functionality ... 1. Form with multipart data is submitted to upload.xsp 2. The form parameters have to be processed. I changed the form variable name from uploaded_file to files and still it works. 3. If I have to do additional processing like

RE: Vadim : RE: XSP Upload example - I do not understand

2002-06-11 Thread Vadim Gritsenko
From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Hello Vadim... If you might explain the upload functionality ... 1. Form with multipart data is submitted to upload.xsp 2. The form parameters have to be processed. I changed the form variable name from uploaded_file to files

RE: Vadim : RE: XSP Upload example - I do not understand

2002-06-11 Thread Chitharanjan Das
Thanks a million I understand it now... Let me try to clarify 1. Upload directory is read from init parameter. Hence it is kinda fixed . 2. We do not get the control of uploaded files. As soon as the Cocoon gets a request. The request is processed for Multipart request processing

RE: Vadim : RE: XSP Upload example - I do not understand

2002-06-11 Thread Vadim Gritsenko
From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Thanks a million I understand it now... Let me try to clarify 1. Upload directory is read from init parameter. Hence it is kinda fixed . 2. We do not get the control of uploaded files. As soon as the Cocoon gets

Re: multipart/forms binary upload in mysql

2002-06-08 Thread John Austin
not the id used by your Servlet container to generate and submit the SQL statements. Has anyone successfully configured mysql to store binary data in blob fields? As soon as I try to upload e. g. an image I get an _org.apache.cocoon.ProcessingException: Could not add record

Upload

2002-06-07 Thread Marc =?x-user-defined?q?Sch=FCpbach?=
hello, i'm doing a file upload using cocoon2.0.2-dev.  it works fine (file will get uploaded) but the sitemap receives no request parameters (even not uploaded_file). when i try the upload sample with the cocoon dist it works fine. can anybody help me ?   thanks  marc

Re: Upload

2002-06-07 Thread Jeroen ter Voorde
This problem is fixed in the latest development versions (2.0.3 and 2.1). Jeroen - Original Message - From: Marc Schüpbach [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 2:26 PM Subject: Upload hello, i'm doing a file upload using cocoon2.0.2-dev. it works fine

Re: multipart/forms binary upload in mysql

2002-06-06 Thread Christian Haul
On 06.Jun.2002 -- 06:56 AM, Andrew Timberlake wrote: Gerhard I think that your problem is not mysql but the use of the DatabaseAddAction. Looking through the source for the DatabaseAddAction indicates no awareness of Uploaded Files. The error you are receiving below shows that cocoon is

multipart/forms binary upload in mysql

2002-06-05 Thread Gerhard Hipfinger
Hi! Has anyone successfully configured mysql to store binary data in blob fields? As soon as I try to upload e. g. an image I get an _org.apache.cocoon.ProcessingException: Could not add record: java.io.FileNotFoundException: org.apache.cocoon.components.request.multipart.FilePartFile@2bfa91

Re: multipart/forms binary upload in mysql

2002-06-05 Thread Andrew Timberlake
in the request.getAttribute in the code above. I hope this helps a little. Andrew On Thu, 2002-06-06 at 01:31, Gerhard Hipfinger wrote: Hi! Has anyone successfully configured mysql to store binary data in blob fields? As soon as I try to upload e. g. an image I get

How to upload a file???

2002-06-04 Thread manish
Hello All, How can I upload a file from browser to server using cocoon. I am using the following syntax... form name = test ENCTYPE=multipart/form-data please let me know how to include this tag on cocoon side to accept file type data from anurag

Re: How to upload a file???

2002-06-04 Thread Andrew Timberlake
Anurag In Cocoon's default state it should already handle the uploads transparently for you. Cocoon has two RequestWrappers which handle all uploads and save the files to a location which by default is (Assuming Tomcat) tomcat dir/Work/Standalone/localhost/cocoon/cocoon-files/upload-dir You can

RE: How to upload a file???

2002-06-04 Thread Graaf, Edgar de (fin)
Set 'upload-directory' in web.xml. Use: form name = test enctype=multipart/form-data action=upload method=POST where upload is its self -Oorspronkelijk bericht- Van: manish [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 4 juni 2002 11:08 Aan: [EMAIL PROTECTED] Onderwerp: How

RE: How to upload a file???

2002-06-04 Thread Christopher Watson
Manish -Original Message- From: manish [mailto:[EMAIL PROTECTED]] Sent: 04 June 2002 10:08 To: [EMAIL PROTECTED] Subject: How to upload a file??? Hello All, How can I upload a file from browser to server using cocoon. I am using the following syntax... form name = test

Re: How to upload a file???

2002-06-04 Thread Andrew Timberlake
Anurag In Cocoon's default state it should already handle the uploads transparently for you. Cocoon has two RequestWrappers which handle all uploads and save the files to a location which by default is (Assuming Tomcat) tomcat dir/Work/Standalone/localhost/cocoon/cocoon-files/upload-dir You can

Re: File Upload using action or any other approach

2002-04-16 Thread Olivier Rossel
Hello? Has anyone accomplished to upload files from html forms to the server to a specific directory .. Yes, I did, with an action. What is the problem? Can you please explain how you did that? Or may be provide us the code, if it is not copyrighted

Re: File Upload using action or any other approach

2002-04-16 Thread Andre Juffer
Olivier Rossel wrote: Hello? Has anyone accomplished to upload files from html forms to the server to a specific directory .. Yes, I did, with an action. What is the problem? Can you please explain how you did that? Or may be provide us the code

Re: File Upload using action or any other approach

2002-04-16 Thread Jeremy Aston
anyone accomplished to upload files from html forms to the server to a specific directory .. Yes, I did, with an action. What is the problem? Can you please explain how you did that? Or may be provide us the code, if it is not copyrighted

RE: File Upload using action or any other approach

2002-04-16 Thread Chitharanjan Das
Hello Andre, Thanks for the input I do not need to process the Data .. Let me re-iterate the problem.. User is presented with a HTML form to upload a data file (XML or not). The user then browses for the file on his m/c (client) and presses the submit button.. Now this file has

File Upload using action or any other approach

2002-04-15 Thread Chitharanjan Das
Hello Has anyone accomplished to upload files from html forms to the server to a specific directory .. Regds, Chiths

Re: File Upload using action or any other approach

2002-04-15 Thread Andre Juffer
Chitharanjan Das wrote: Hello? Has anyone accomplished to upload files from html forms to the server to a specific directory .. Yes, I did, with an action. What is the problem? -- Andre H. Juffer | Phone: +358-8-553 1683 The Biocenter and| Fax

setting upload dir dynamically

2002-04-09 Thread Cristina Ulivi
Hi all. I'm developing apps using Apache, Tomcat 4.0.1, Cocoon 2.0.1 on a Windows 2000 o.s. I'd like to upload file in different directories using jsp pages. Can I set the upload dir dynamically in the jsp page and not in the web.xml file for all the cocoon instance? If I can do it, I can

Re: Automatic upload

2002-03-31 Thread Sergey G. Aslanov
request.getParameter(name); } } Tuesday, March 26, 2002, 5:57:38 PM, you wrote: AK Hi! AK How can I turn off the automatic upload of files sent by an AK input type=file ? AK I dont know if Tomcat or Cocoon saves all the files to AK %TOMCAT_HOME%\work\localhost\cocoon\cocoon-files\upload-dir

xsp - file upload question

2002-03-27 Thread Axel Honfi
Hello! I have a serious problem with file-uploads. I need to check if the file already exists in the specified directory and if yes, create a new subdirectory and store it there. And I need to delete files in the upload directory. I examined the xsp-upload-sample, but I still don't have a clue

Automatic upload

2002-03-26 Thread Alexander Kruth
Hi! How can I turn off the automatic upload of files sent by an input type="file" ? I dont know if Tomcat or Cocoon saves all the files to %TOMCAT_HOME%\work\localhost\cocoon\cocoon-files\upload-dir I think Cocoon does this, but why? Thanks, Alex.

Re: Automatic upload

2002-03-26 Thread Markus Blank
You can change the upload direcrory in the web.xml of cocoon - Original Message - From: Alexander Kruth To: [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 2:57 PM Subject: Automatic upload Hi! How can I turn off the automatic upload of files sent

Re: Automatic upload

2002-03-26 Thread Alexander Kruth
Yes, Iknow, but I don't know how to turn off this feature! Alex. - Original Message - From: Markus Blank To: [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 3:07 PM Subject: Re: Automatic upload You can change the upload direcrory in the web.xml

files upload

2002-03-15 Thread Sergey G. Aslanov
Hi, all How can I turn off automatical uploading files by Cocoon (2.0.x) in case when I use other engine for uploading? -- Sergey G. Aslanov CBOSS Group, Web-technologies department mailto:[EMAIL PROTECTED] tel: +7 095 7555655

File Upload Size

2002-03-08 Thread Michael Gerzabek
I've set the 'upload-max-size' to about 100K in C2's web.xml but when I upload a file larger than that it get's submitted anyway. Is there a way to set mime-types for the upload? Michael - Please check that your question has

upload dir

2002-03-07 Thread Cocoon User
i'm using cocoon 2.0.rc2 with tomcat and apache how can i change the upload for the upload.xsp? thanks kounis stavros osmosis.gr - Please check that your question has not already been answered in the FAQ before posting

Re: upload dir

2002-03-07 Thread Olivier Rossel
Cocoon User wrote: i'm using cocoon 2.0.rc2 with tomcat and apache how can i change the upload for the upload.xsp? thanks kounis stavros osmosis.gr the upload dir is defined in your WEB-INF/web.xml The upload dir is unique to your cocoon instance

Re: upload dir [outside cocoon]

2002-03-07 Thread Cocoon User
is it possible to upload something into a directory outside cocoons installation? for example into /tmp ore /home thank kounis stavros On Thu, 7 Mar 2002, Olivier Rossel wrote: Cocoon User wrote: i'm using cocoon 2.0.rc2 with tomcat and apache how can i change the upload

POST, create XML, and Upload

2002-01-03 Thread therandthem
I have an XML database, not related to Cocoon, that performs inserts, updates, or deletes by POSTing and XML document to a virtual URL. With Cocoon I need to have an HTML form collect info. I need to create a small, well-formed XML string (or document) and then POST it to the database via http

Re: C2 file upload problem

2001-12-12 Thread tek
Seems I have to describe the problem once again: Uploading a file with the cocoon2 upload-example seems to work ok. The uploaded file appears in the file-list. But when you look closer, you notice, that uploaded file is empty (only containing some information about the original file type

RE: C2 file upload problem

2001-12-11 Thread Max Larsson
Hi, within your web.xml file you can change the upload directory. It is passed as a parameter to the Servlet. If you can even set absolute paths i don't know. HTH Max Here a snipet from my web.xml servlet servlet-nameCocoon2/servlet-name

Upload file... working exemple?

2001-10-25 Thread Tiberiu Dondera
Does anybody has a working exemple of a file upload with cocoon2 using com.oreilly.servlet.MultipartRequest? I'm getting org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling upload_xsp: Line 288, column 31: Class

C2 file upload problem

2001-10-03 Thread Vladimir Lyovkin
Hi ! I tried to upload file with cocoon example upload.xsp. When i post request i got file with 1 byte length in upload directory. Cocoon logs reports right size for request ... (C2rc1a, tomcat 4.0, w2k) May be someone can guess problem and help ? Thank you in advance, Vladimir

upload download with XSP

2001-09-22 Thread Earl Bingham
C2 comes with an example that shows how to build a page that allows users to upload a file. %TOMCAT_HOME\webapps\cocoon\docs\samples\xsp\upload.xsp It places the file to a location based upon: Constants.CONTEXT_UPLOAD_DIR which for win32:tomcat 4.0 is at: %TOMCAT_HOME%\work\localhost\cocoon

Upload of documents [C2]

2001-08-03 Thread Max Larsson
Hi, does anyone knows where to find more documentation about the upload feature of Cocoon2? I am want especially to know is if somethere information is stored about what name the uploaded document has get and if it is possible to identify from which, request the documnet came?? best regards