I'm trying to do a PUT request to a Tomcat 3.2.1 instance. Do I need to configure Tomcat in order to be able to PUT files? Now I am doing the job via a servlet, POSTing the file coded in base64, but it involves too much code in the client part.
The system consists in an Excel macro connecting to the Tomcat server (don't ask for the reasons, please :-) I do most of the stuff via SOAP, but file uploading is slooow, and I'm searching for alternatives. The best option seems to be a direct PUT request to the server. I have the next code in Excel: Dim con As New xmlhttp con.Open "PUT", url, False con.send sData where sData is the result of reading the file with an ADODB.Stream object. The problem is that it raises an error if the file does not exists in the server (that is, the url does not map to any file), and if it exists, it raises no error, but the file is not updated in the server. Anybody has dealt with something like this before? Thanks in advance ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
