Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 67278 invoked from network); 8 May 2008 06:44:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 06:44:21 -0000 Received: (qmail 1276 invoked by uid 500); 8 May 2008 06:44:20 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 1263 invoked by uid 500); 8 May 2008 06:44:20 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 1252 invoked by uid 99); 8 May 2008 06:44:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 23:44:20 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.86.89.69] (HELO elasmtp-mealy.atl.sa.earthlink.net) (209.86.89.69) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 06:43:34 +0000 Received: from [66.134.41.90] (helo=minbar) by elasmtp-mealy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1Jtzr1-0004T0-IJ for users@jackrabbit.apache.org; Thu, 08 May 2008 02:43:47 -0400 From: "Julio Castillo" To: References: <39D656801E6EEB4F8C0EBF6E251BCD2001316ECD@IGTEBLREXC02.igatecorp.com> <48229F9D.8030201@day.com> Subject: RE: Accessing tiff file using webdav Date: Wed, 7 May 2008 23:43:58 -0700 Organization: Edgenuity Inc Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <48229F9D.8030201@day.com> Thread-Index: Aciw1c1c3rIPyJ6oTTuXp3s7a+AHvgAAPbEA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 X-ELNK-Trace: 94e96322e927e447d780f4a490ca6956abb457f1b4332f522aab2ebf74cfa0ad86c84b54597c3a65350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.134.41.90 X-Virus-Checked: Checked by ClamAV on apache.org Could it be because you used application/octet-stream as mime type rather than image/tiff? ** julio -----Original Message----- From: Angela Schreiber [mailto:anchela@day.com] Sent: Wednesday, May 07, 2008 11:37 PM To: users@jackrabbit.apache.org Subject: Re: Accessing tiff file using webdav hi > Node tiffNode = root.addNode(file.getName(), "nt:folder"); > Node fileNode = tiffNode.addNode(file.getName(), "nt:file"); > Node resNode = fileNode.addNode("jcr:content", "nt:resource"); [...] > Actually, I am able to add the tiff file to the workspace by using the > code above. But my problem is when I am trying to access this tiff > file via browser (using webdav functionality), the tiff file is not > opening up (i.e its not asking for an option to save or open) instead > it opens up like a folder structure in browser (/default/Original > Image.tif/Original Image.tif/jcr:content). > But I want to get the actual tiff file via browser using webdav.How do > I do that? if you are using the SimpleWebdavServlet it should work as expected. can you please check if you are not (just by coincidence) accessing the JcrServerServlet? if you are indeed using the simple server, you may provide a log of the http conversation... i wouldn't know just from the top of my head, what would be wrong then. angela