302 found when put is used #396
Unanswered
NaimiDerycke
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I can use everything but when I use put, I always get the response 302 (Found)
here's the code :
Sardine sardine = SardineFactory.begin(Identifiant, Password); sardine.setCredentials(Identifiant, Password, "ged.rff.fr", "P70P13RFCP0"); sardine.enablePreemptiveAuthentication("NTLM"); InputStream fis = new FileInputStream(new File("C:/Users/NDERYCKE/Documents/erreurbean.txt")); final URI url = URI.create("http://ged.rff.fr/livelinkdav/nodes/14190675/erreurbean.txt"); final String link = url.toString(); sardine.put(link, fis); System.out.println("got here!");
and the errorlog :
Beta Was this translation helpful? Give feedback.
All reactions