File Name With WEB SEND BLOB?

Cannon Smith (5/2/14 9:34PM)
Joshua Fletcher (5/3/14 1:36AM)
Cannon Smith (5/6/14 10:11AM)


Cannon Smith (5/2/14 9:34 PM)

Hi Josh,

That looks like exactly what I?=80ôm looking for.

Thanks much!

--
Cannon Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<cannon@...
<www.synergyfarmsolutions.com>

On May 2, 2014, at 5:36 PM, Joshua Fletcher <JFletcher@... wrote:

color><param>00000,0000,DDEE/param>II think what you need is WEB SET
HTTP HEADER and specify the
"Content-Disposition" header.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html

"The Content-Disposition response-header field has been proposed as a
means for the origin server to suggest a default filename if the user
requests that the content is saved to a file."
/color>

Joshua Fletcher (5/3/14 1:36 AM)

I think what you need is WEB SET HTTP HEADER and specify the
"Content-Disposition" header.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html

"The Content-Disposition response-header field has been proposed as a
means for the origin server to suggest a default filename if the user
requests that the content is saved to a file."

-Josh

--
Josh Fletcher
Technical Account Manager
4D, Inc.

On 5/2/14, 1:35 PM, "Cannon Smith" <cannon@...
wrote:
color><param>00000,0000,DDEE/param>IIt works fine except that the zip
file that ends up on the user?=82¬=B9s side
has a name based on the URL endpoint that was called. I?=82¬=B9d
like it to
have
a specific filename. Is this possible or do I have to change the URL
that
is used?
/color>

Cannon Smith (5/6/14 10:11 AM)

Hi Dave,

I haven&iacute;t yet. I was researching the issue and then got pulled to
other things before I got to test it. I&iacute;ll get back to it at some
point.

Thanks.

--
Cannon Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<cannon@...
<www.synergyfarmsolutions.com>

On May 6, 2014, at 9:40 AM, Dave Nasralla <dnasralla@... wrote:

color><param>00000,0000,DDEE/param>DDid you end up setting the return
headers with:

Content-Disposition: attachment; filename="fname.ext"

At the time I wrote my code (9-10 years ago) I didn't always get the
same result across web browsers and fudging the URL got the most
uniform result. More than likely they have a more consistent result
now. (I should let my bank know how to do this - because the
statements I get are based on the URL!)
/color>

Reply to this message

Summary created 5/6/14 at 11:33AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com