| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: Upload files with POST |
| User1083 Posts: 3 Member Since: 10/26/00 |
posted October 26, 2000 10:48 AM Hello, I am looking for a little bit help. My problem is, that I must upload a file to a webserver. I can't use the method PUT because I dont have the permissions on this server. On this server is a HTML-Page for upload via POST. The content from the page is: <form action="/poc/incoming/index.html" method="post" ENCTYPE="multipart/form-data"> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="25000000"> <INPUT TYPE="file" name="userfile"> <INPUT TYPE="submit" name="send" value="Send"> </form> I maked some tests with your page "www.dart.com/PostSample.asp" and it works fine. But my problem is, that I dont know in which syntax I must give the POST-Parameters for my page. Please give me a little tip. Many Thanks Ralf Lorenz |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 26, 2000 11:44 AM Something like this may work: Dim Stream as New DartStream ' (add Dart TCP as a reference to get DartStream) Stream.FileMode = createExisting Stream.FileName = "filename" Http1.Url = "http://host/poc/incoming/index.html" Http1.Post Stream.ReadString |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|