• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading file from Tomcat-Aoache server to IIS web server

 
Ashutosh Tripathi
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application which is a simple java/jsp application running on Tomcat-Apache, I have to upload a file on another web server which is a IIS server.
As of now I am using java.net.* package which has JarUrlConnection class, through this i am able to get the connection to the IIS server and even it is able to locate the directory/zipfile in the IIS server. but when i am trying to read the file byte by byte it gives a SocketTimeoutException....any idea how this can be resolved???
Or else Tell me how to achieve this upload from Tomcat to IIS functionality???
 
narasimharao konjeti
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check with scope of the socket object.
regards
nrkonjeti
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic