[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Binary Uploads using WebSpeed Classic under PASOE

  • Thread starter Thread starter Irfan
  • Start date Start date
Status
Not open for further replies.
I

Irfan

Guest
Hi Brian, I tried with the below code in 11.7.3 and it worked fine for me. I modified fileUploadDirectory and binaryUploadMaxSize properties. DEFINE VAR mFile AS MEMPTR NO-UNDO. ASSIGN mFile = WEB-CONTEXT:GET-BINARY-DATA("filename"). message get-size(mfile). IF mFile <> ? THEN COPY-LOB FROM mFile TO FILE session:temp-directory + get-value("filename") NO-CONVERT. CATCH e AS Progress.Lang.Error : message e:GetMessage(1). END CATCH.

Continue reading...
 
Status
Not open for further replies.
Back
Top