| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: HTTP PUT |
| lhoang From: LONG BEACH, CA USA Posts: 16 Member Since: 11/17/00 |
posted November 17, 2000 7:19 PM Is there any working sample of HTTP Put method. The following code does not generate any error but when I check the file on webserver it simply not there. ole_http.Put content,m_orequestheader, Result, ReturnHdrs, username,password content = "filename" |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 17, 2000 7:22 PM What does Result contain after the call? What about ReturnHdrs? Do you have write permissions on the server? |
| lhoang From: LONG BEACH, CA USA Posts: 16 Member Since: 11/17/00 |
posted November 17, 2000 7:25 PM Thanks for your quick response Result = "" ReturnHDR = Server: Microsoft-IIS/4.0 Date: Sat, 18 Nov 2000 00:25:20 GMT Connection: close Content-Length: 461 Content-Type: text/html RequestHDR = Content-Length: 13Content-Type: application/x-www-form-urlencoded Any idea Thanks |
| lhoang From: LONG BEACH, CA USA Posts: 16 Member Since: 11/17/00 |
posted November 17, 2000 7:28 PM Sorry, my finger is too fast I have full access right at webserver I have another PUT Perl Script works fine so it means the problem is not on the webserver Thanks |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 17, 2000 7:30 PM Do you have permission to write on the server? Was the file you sent 13 Bytes? Since return headers content length says 461, it implies that result should have been 461 bytes long. I've done it before, so I know it works. I remember having to go through a little work to get the server to accept files though. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 17, 2000 7:32 PM Well , unless you can provide me with the URL for testing, I am out of ideas. Send it to me via e-mail if you want. |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|