Questions tagged [sardine]

an easy to use webdav client for java

an easy to use webdav client for java

See https://code.google.com/p/sardine/

29 questions
0
votes
3 answers

Android webdav Java Sardine

im trying Sardine to make a webdav client in android, im trying this code: This works perfect on JAVA aplicacion, but crashes in android :( HttpClient client = new DefaultHttpClient(); SardineImpl sardine = new…
Alexx Perez
  • 215
  • 2
  • 10
  • 19
0
votes
1 answer

android sardine + httpclientandroidlib

im trying to use this library but it doesn't allow me: This is my code. import java.io.IOException; import java.util.List; import com.googlecode.sardine.DavResource; import com.googlecode.sardine.impl.SardineImpl; import…
Alexx Perez
  • 215
  • 2
  • 10
  • 19
0
votes
1 answer

Add Authorization Bearer token for Sardine WebDav

I am researching Sardine Java library for WebDav access. On the User Guide page there is Authorization section, but uses only credentials type of authorization. The WebDav server which I am trying to access supports Bearer Token authorization. Is it…
CuriousGuy
  • 1,545
  • 3
  • 20
  • 42
0
votes
1 answer

Can't get Sardine to parse CalDav response

I am trying to use Sardine to query Apple iCloud Calendar. However, it seems to me Sardine is not properly parsing the response. This is my CalDav time range query:
Robson Hermes
  • 425
  • 5
  • 12
0
votes
0 answers

Not able to use com.googlecode.sardine in maven project?

I am not able to build maven project in mule I'm getting an error. Although I have googlecode.sardine jar in repository: [ERROR] /D:/.../src/main/java/com/download/filesdownload.java:[8,30] package com.googlecode.sardine does not exist [ERROR]…
Prasad
  • 33
  • 3
  • 11
0
votes
1 answer

How to define a custom port for the WebDAV server using sardine?

In Sardine how do I change the port number to something different from port 80 (for HTTP) and 443 (for HTTPS)? The User guide states that I have to "override SardineImpl#createDefaultSchemeRegistry() or provide your own configured HTTP client…
ciberg
  • 73
  • 1
  • 7
0
votes
1 answer

webdav sardine jar with JavaEE web application

We have an existing JavaEE web application. We need to connect to a document repository via webdav. I am trying to use sardine but the couldn't find clear setup instructions. Is the Maven build mandatory? Or, is it possible to simply include…
user1549605
  • 273
  • 3
  • 17
0
votes
3 answers

Java sardine webdav client on Android

I am currently implementing a WebDAV client for Android, which is based on sardine (https://github.com/lookfirst/sardine). The Android-Client is targeted for API level 15 (min-Api level). Right now I want to initialize the connection by using the…
Michael
  • 153
  • 1
  • 14
0
votes
3 answers

Java Webdav File Synchronization

I have a cloud storage at strato namely hidrive. It uses the webdav protocol. Note that it's based on HTTP. The client application they provide is poor and buggy so I tried various other tools for synchronization but none just worked the way I need…
BullyWiiPlaza
  • 17,329
  • 10
  • 113
  • 185
0
votes
1 answer

Adding a zip file through sardine-webdav -jcr

I am trying to add a zip file via sardine in a JCR repo. Have built a small test case . public void getFileTest() { String baseUrl = "http://localhost:8380/jackrabbit/repository"; Sardine sardine = SardineFactory.begin("guest",…
Rajesh Wadhwa
  • 1,016
  • 2
  • 8
  • 14
0
votes
1 answer

see if the node exists in Jackrabbit AbstractWebDavServlet in JackRabbit

I am working with a jackrabbit server where we faced a problem on running multiple Repositories in a cluster. The problem is that the Folder structure path for a file insertion happens sometimes on the 1st repo and the insertion of the file on the…
Rajesh Wadhwa
  • 1,016
  • 2
  • 8
  • 14
0
votes
1 answer

Can't resolve httpclient in sardine on android 4.1

I'm using most recent Sardine https://github.com/lookfirst/sardine WebDav client that uses httpclient 4.2.4 I'm trying to make is work on 4.1.1.4 that uses httpclient 4.0.1 With exclusions it build perfectly
Max The Cat
  • 401
  • 2
  • 5
  • 16
0
votes
0 answers

Saving an image with transparent background to webdav gives white background

I am trying to save an image to a webdav folder by this method: void saveToWebdav(final Sardine sardine, final InputStream inputStream, final int length) throws IOException { try{ …
denizdurmus
  • 1,289
  • 1
  • 13
  • 39
0
votes
2 answers

android sardine + httpclientandroidlib -> new package names

I followed the suggestion from https://stackoverflow.com/a/7853412/497102 and I ended up, that sardine is not finding any http classes. Well as http://code.google.com/p/httpclientandroidlib/ says correctly alls package names are renamed…
Martin Dames
  • 264
  • 3
  • 13
1
2