
File upload using Internet Transfer Control and HTTP PUT
Site Server 3.0 is installed on the server which I believe includes an
updated version of the posting acceptor. Uploading files using the file
upload control that comes with Site Server works fine. But, as far as I
know, the Internet Transfer Control doesn't make use of the posting
acceptor.
Henrik Kj?r
Quote:
>Have you installed the posting acceptor on your IIS server?
>--
>Chanan Braunstein
>Vitis Research, Inc.
>http://vitis-ir.com
>>I am trying to upload files to a webserver using the Internet Transfer
>>Control from VB and Windows Scripting Host. Instead of keeping a FTP
server
>>running just to receive files I want to use the HTTP protocol with the
>"PUT"
>>command.
>>Apparently, according to the documentation, the Internet Transfer Control
>>should be able to do so using the Execute method like in
>>Set Inet = WScript.CreateObject("InetCtls.Inet.1")
>>Inet.RequestTimeOut=20
>>Inet.URL = "http://myserver/Uploaddir/Uploadfile.htm"
>>Inet.Execute , "PUT", "C:\localdir\localfile.htm"
>>However, the localfile is not uploaded. Instead the string
>>"C:\localdir\localfile.htm" is uploaded as the new content of the document
>>at http://myserver/Uploaddir/Uploadfile.htm
>>Does anyone know how to upload files?
>>Thanks
>>Henrik Kj?r Nielsen