Originally posted by: Hillisha Haygood
I need to see an actual example of the code to upload binary files. I am having trouple using the Web Post API. Can someone please post an example?
ReplyOriginally posted by: Martin Gay
Hi,
I've tried using the WpPost function in my ISAPI app. I've included <wpapi.h> and used the webpost.lib in my project settings.
In debug mode, I run my DLL then load IE4 (IE3 does not have webpost.dll), as per normal. However, instead of the first page loading (which incidently does not use this functionality) I get the error message.....
HTTP/1.0 500 Server Error (The specified module could not be found. )
.... on my browser. In the debugger it says it has loaded the webpost.dll. If I comment out the WpPost call then the site works fine. I think the DLL is only loaded when it knows it has a call in the code.
Remember this error occurs before the function is actually run.
Any ideas how to rectify this.
thanks in adv.
Martin
Originally posted by: Kamran Bilgrami
It can be used not only for the web-pages but also for the binary files. I tested this API for transferring bmp, jpg and gif files. All the transfers were successfull.
See the help about "Web Posting API" in the MSDN. There you can find how to use this API with some good examples.
Go Ahead with your own functions for File Uploading.
Reply
Originally posted by: nick werle
this seems to be for posting Web pages
will this work for a binary file?
Originally posted by: Phan trung viet
Can you send me source code !
thank you !