BinaryBody
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53286
interpreted = N
texte = HiServing on w2k WebDNA 5.1 (Special build)I have this code which does as it should, ie download the file, only problem is that the file has NO content when it arrives. Any ideas?[text secure=f]getfile=[/text][showif [getfile]!][text]line_ending=%0D%0A[/text][ReturnRaw binarybody=[getfile]]HTTP/1.0 200 OK[unurl][line_ending][/unurl][!][/!]Status: 200[unurl][line_ending][/unurl][!][/!]Content-Type: application/octet-stream[unurl][line_ending][/unurl][!][/!]Content-Disposition: attachment; filename="[getfile]"[unurl][line_ending][line_ending][/unurl][!][/!][/ReturnRaw][/showif][listfiles path=pdfs/][showif [filename]=HeatRay.pdf]
BROCHURE[/showif][/listfiles]RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
HiServing on w2k WebDNA 5.1 (Special build)I have this code which does as it should, ie download the file, only problem is that the file has NO content when it arrives. Any ideas?[text secure=f]getfile=[/text][showif [getfile]!][text]line_ending=%0D%0A[/text][ReturnRaw binarybody=[getfile]]HTTP/1.0 200 OK[unurl][line_ending][/unurl][!][/!]Status: 200[unurl][line_ending][/unurl][!][/!]Content-Type: application/octet-stream[unurl][line_ending][/unurl][!][/!]Content-Disposition: attachment; filename="[getfile]"[unurl][line_ending][line_ending][/unurl][!][/!][/ReturnRaw][/showif][listfiles path=pdfs/][showif [filename]=HeatRay.pdf][thisurl]?getfile=[url][filename][/ url]> BROCHURE[/showif][/listfiles]RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Stuart Tremain
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebDelivery downloads alias, not original ? (1997)
calculating tax rates, mail order solutions and version 2 (1997)
[LOOKUP] (1997)
NetSplat and WebCat2 (1997)
showif field is number (1997)
listcookies works only sometimes (1997)
Using Cookie for client specific info? (1997)
Site Builder & IE Mac (2004)
Cross domains Shopping Carts (2003)
OT: Euros to Dollars (2008)
shell problems again... (2003)
Searching an Email database (1997)
problem with NT beta (1997)
web delivery (1997)
Many $WebCat.exe processes (1998)
all records returned. (1997)
Rounding problem (1998)
using showpage and showcart commands (1996)
[replaceChars] would be nice ... (1997)
New Plug-in and Type 11 errors (1997)