[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: PASOE/REST/DOH - File Download

  • Thread starter Thread starter jts-law
  • Start date Start date
Status
Not open for further replies.
J

jts-law

Guest
Peter, No, I don't care about multipart messages, I just want to download a single file. I started with multipart simply because that's what I was working with for the upload and didn't know exactly what all to change in the map and signature for anything else. In my original attempt I had the Content-Disposition and it was still downloading a file with the name of the service (DownloadProfitAcctCat). I also had the output of the method as a MultipartEntity, which doesn't seem to work. The following is how I was trying to set the header: oHeader = HttpHeaderBuilder:Build('Content-Disposition':u) :Value(SUBSTITUTE('attachment; filename=&1':u, QUOTER("Test.xlsx"))):Header. In order to download the file directly without the multipart message, what should the signature of the method be? Louis

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