You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Sudhan <s....@gmail.com> on 2007/05/05 00:17:55 UTC
Problem uploading file on IIS server with SSL
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: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org