Hello,
I have a code which i tried connecting to IIS server url ( i am using SSL),
but i am unable to upload any files. My code is :
HttpsURL hrl = new
HttpsURL("https://qa62/CMSWorkingDirectory");
hrl.setUserinfo("user", "pass");
Credentials cred = new UsernamePasswordCredentials("", "");
WebdavResource wdr = new WebdavResource(hrl, "qa62", 443, cred);
String filename = "C:/CMSWorkingDirectory/Readme.txt";
File fn = new File(filename);
String path = wdr.getPath() + "/" + filename;
boolean rslt = wdr.putMethod(path,fn);
Can someone help me out , or tell me what i am missing .
thanks,
Sudhan
--
View this message in context:
http://www.nabble.com/Problem-uploading-file-on-IIS-server-with-SSL-tf3694540.html#a10331299
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]