File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Uploading file from Tomcat-Aoache server to IIS web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Uploading file from Tomcat-Aoache server to IIS web server" Watch "Uploading file from Tomcat-Aoache server to IIS web server" New topic
Author

Uploading file from Tomcat-Aoache server to IIS web server

Ashutosh Tripathi
Greenhorn

Joined: Sep 02, 2003
Posts: 1
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

Joined: Apr 26, 2003
Posts: 130
check with scope of the socket object.
regards
nrkonjeti


"Unwise to sweat petty stuff, wise to pet sweaty stuff."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Uploading file from Tomcat-Aoache server to IIS web server