Upload a file to a website programmatically?

情到浓时终转凉″ 提交于 2019-11-29 12:38:58
noseratio

This is a known problem, and there is a solution, but you're going to have to convert it from С# to Delphi.

Another possible solution is to upload the file using URL Moniker APIs. The upload will then happen on the same session the WebBrowser control is already using. There is an MSKB article:

How To Handle POST Requests in a Pluggable Protocol Handler

The POSTMON.EXE sample linked to the article has disappeared from Microsoft website, but still can be found here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!