This is the BinaryRead in the current file above line 86
<%
Response.Buffer = True
' load object
Dim load
Set load = new Loader
' calling initialize method
load.initialize
' File binary data
Dim fileData
fileData = load.getFileData("file"
' File name
Dim fileName
fileName = LCase(load.getFileName("file")
' File path complete
Dim filePathComplete
filePathComplete = load.getFilePathComplete("file"
' File size
Dim fileSizeTranslated
fileSizeTranslated = load.getFileSizeTranslated("file"
' Content Type
Dim contentType
contentType = load.getContentType("file"
' Path where file will be uploaded
Dim pathToFile
pathToFile = Server.mapPath("uploaded/" & "\" & fileName
' Uploading file data
Dim fileUploaded
fileUploaded = load.saveToFile ("file", pathToFile)
I found out the reason why. The Upload code contains Request.BinaryRead which causes an error subsequently if we use request.form.
Now anyone knows how to solve it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.