jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johnny Wan <Johnny....@asggroup.com.au>
Subject RE: Help with downloading files via WEBDAV
Date Fri, 27 May 2011 03:09:37 GMT
Well, I saw the example for uploading files using the PutMethod, but I didn't find any equivalent
sample for downloading a file. I was expecting a GetMethod to be part of the Jackrabbit API.
You said I will be using a regular GET, do you have any sample code of how this works with
the Jackrabbit API?

-----Original Message-----
From: justinedelson@gmail.com [mailto:justinedelson@gmail.com] On Behalf Of Justin Edelson
Sent: Friday, 27 May 2011 9:54 AM
To: users@jackrabbit.apache.org
Subject: Re: Help with downloading files via WEBDAV

curl -u <username>:<password> http://<myhost>:<myport>/<pathtofile>


For downloading files, WebDAV just uses regular GET requests.

Is there something specific that's causing you trouble?


On Thu, May 26, 2011 at 9:23 PM, Johnny Wan <Johnny.Wan@asggroup.com.au> wrote:
> Hi,
> I am trying to download files via WEBDAV. Does anyone have sample code or pointers? Thanks
> Regards,
> Johnny Wan

View raw message