Login  
Search All Forums
Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web Enterprise for ActiveX
Topic: 12032 error when calling PUT
whiprush

From: Springfield, MO USA
Posts: 9
Member Since: 05/13/03
posted November 18, 2004 12:04 PM

I'm currently having trouble with an application(EXE) which uploads files from my PC to an https server. Every time I try to run a PUT statement, I get a 12032 error. This is the code I use to run the statement:

  objHttps.Timeout = mnTimeout
  objHttps.Version = "HTTP/1.1"
  objHttps.Head objResponse, msLogonID, msLogonPswd
  Call objRequest.Add("Authorization: Basic QU5QQUNfSFRUUFM6V3F0WjZ2Mzc=", objRequest.Count)
  Call objRequest.Add("Content-Length: " & FileLen(sSrcFile), objRequest.Count)
  objHttps.Put sSrcFile, objRequest, sResponse, objResponse


I also notice, on the server side, that the upload always seems to have a status of 401 (unauthorized) or 404 (not found). What could be causing this.

Also, I tried running TracePlus Web Detective to trace the status of the PUT, but it only shows HEAD and GET statements, not PUT.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 18, 2004 12:46 PM

That's a common problem. I think it has to do with having to redo the request. I searched the forum and found a bunch of other threads dealing with this. Here is a link:

http://www.dart.com/search/searchresults.asp?expand=Forum&term=12032&page=1

Please read through all of them and if you are still having a problem, contact us at support@dart.com to discuss more advanced support options.

Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX