Pure ASP Upload 3 Support Product Page

A recent Windows update has caused the Upload functionality to fail - multiple servers

Asked 11 Dec 2015 19:59:16
have this question
11 Dec 2015 19:59:16 User  posted:
A recent Windows update on our servers has caused the Upload functionality to fail across the board (several different servers)

Error is at the process of image upload. I can follow the upload to image_upload and image_uploadb.asp and to the incPureUpload.asp that processes it -

At incPureUpload.asp line 205 it is trying to get the file name from the binary upload. At that point, if I write to the screen pau_getString(MidB(RequestBin,PosBeg)), I get about 23 too many leading characters, and, of course, no end at all...

="filesent"; filename="537250_586018528082714_1673090553_n.jpg" Content-Type: image/jpeg ÿØÿà

But PosEnd is smaller than PosBeg, so the next function fails
Value = pau_getString(MidB(RequestBin,PosBeg,PosEnd-PosBeg))

PosEnd has to do with the placement of the carriage return in the file, and seems it is finding an earlier one than it should, but here's where I don't know what to do about it.

Reply to this topic