ASP POST 上传图片的函数,该怎么写,解决微信临时素材上传问题

 <form method="POST" form-method="POST" return-type="json" enctype="multipart/form-data"  action="https://api.weixin.qq.com/cgi-bin/media/upload?access_token=LBVfCxgaigeGsNXA6kfFHhwbxwjpo2bVucfQgVRcFvMqJj7TQYWjj6e5FOEF0Sa7qwSTDv9hdZdZ6PxLlGMpi8v8JIXmTu969Mmvt4hXaH4Ar2qjQitxiRV5gA1NLjF8ZAWhACAUVR&type=image&method=POST">
<input type="file" name="media"  required="true">
<input type="submit" class="submit" id="submit" value="上传图片">
</form>

现在网页这样写是可以上传的,就想问下,如果ASP代码的用POST的方式,POST函数该如何写,已经写了很多个,就是不能用。

网页这样可以上传的。

asp的话,用xmlhttp对象,asp.net的话,用httpwebrequest,具体用法google下。

http://blog.163.com/liguisheng_002/blog/static/268951220097109379387/