(在线等待)请问怎么接受ASP通过multipart/form-data方式提交的数据
以下是用VB实现的代码,我希望用VC++实现,该怎么做.
Private MyScriptingContext As ASPTypeLibrary.ScriptingContext
Private MyResponse As ASPTypeLibrary.Response
Private MyRequest As ASPTypeLibrary.Request
Private MySession As ASPTypeLibrary.Session
Public Sub OnStartPage(PassedScriptingcontext As ScriptingContext)
Set MyScriptingContext = PassedScriptingcontext
Set MyRequest = MyScriptingContext.Request
End Sub
Public Sub Read()
lngTotalSize = MyRequest.TotalBytes '获得上载数量的大小
varHeaderValue = MyRequest.BinaryRead(lngTotalSize)'读取上载值
End Sub