(already posted to slide-user, desperate for a clue)

I'm trying to use WebdavResource.putMethod() to upload a file from my client
with this code:

          WebdavResource webdavResource = getWebDAVResource(httpURL);
          byte[] fileContent = getBufferToUpload();
          boolean result =
webdavResource.putMethod(path+"/"+filePart.getFileName(), fileContent);

Slide gets to this code inside FileContentStore.createRevisionContent():

                while (true) {
                    int nChar = is.read(buffer);
                    if (nChar == -1) {
                        break;
                    }

when the is.read(buffer) call times out and throws an exception.  This
doesn't happen when I use WebFolders to upload a file, so it must be
something in my code.  Any ideas?  Any other tools to upload a file from
Java?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to