What steps will reproduce the problem?
In code I do
String username="xxxxx";
String password ="xxxx";
//Sardine sardine = SardineFactory.begin(username, password);
Sardine sardine = SardineFactory.begin();
sardine.setCredentials(username, password);
String uri="http://webdevhost.domain//Testing.txt" ;
if (sardine.exists(uri)) {
System.out.println("file exists");
}
What is the expected output? What do you see instead?
it should print out "file exists". However got 401 Unauthorized error.
however I am albe to manul login by typing http directory in IE browser
What version of the product are you using?
314
On what operating system?
window
What webdav server are you hitting?
the webdav is windows IIS set with windows integratied authentication
What is in the server error logs?
com.googlecode.sardine.impl.SardineException: Unexpected response (401
Unauthorized)
Please provide any additional information below (including code examples
and full stack traces with line numbers in them).
Original issue reported on code.google.com by lwang6...@gmail.com on 17 May 2012 at 11:13
Original issue reported on code.google.com by
lwang6...@gmail.com
on 17 May 2012 at 11:13