I sure hope so...
> -----Original Message----- > From: WebDude [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 25, 2006 12:33 PM > To: [email protected] > Subject: RE: Witango-Talk: Secure download and http header > manipulation > > I think he meant invaluable ;-) > > > > > > -----Original Message----- > From: Alex Smersi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 25, 2006 1:15 PM > To: [email protected] > Subject: RE: Witango-Talk: Secure download and http header > manipulation > > Scott -- > just removed line-breaks and inserted a space between > <@HTTPSTATUSCODE> and > <@HTTPREASONPHRASE>; after that it worked fine like exptected. > > Your support is unvaluable. > Alex/ > > >>> [EMAIL PROTECTED] 25/10/2006 19:52 >>> > Hi Alex, > > Remove the line-breaks in your httpHeader assignment code. > The contents of > the assignment (what I sent earlier) should all be on one line. > > Line-breaks have special meaning in HTTP commands. The > <@CRLF> Metatags are > used for inserting where proper HTTP line-breaks should appear. > > There should also be a space between <@HTTPSTATUSCODE> and > <@HTTPREASONPHRASE> (on the same line). > > Hope that helps. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Scott Cadillac, > Xmlx Software > > [EMAIL PROTECTED] > (403) 254-5002 > http://www.xmlx.net/ > > XML-Extranet > P.O. Box 69006 > RPO Bridlewood SW > Calgary, Alberta > Canada T2Y 4T9 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > [snipped] > > > > > >>> [EMAIL PROTECTED] 25/10/2006 17:01 >>> > > Hi Alex, > > > > I think all it needs is to update the httpHeader variable > assignment > > to look like the following: > > > > <@assign name="httpHeader" scope="request" value="HTTP/1.1 > > <@HTTPSTATUSCODE> > > <@HTTPREASONPHRASE><@CRLF>Content-Type: <@var > > local$resultSet[1,filename]><@CRLF>Content-Length: <@var > > local$resultSet[1,filesize]><@CRLF>Content-Disposition: attachment; > > filename=<@DQ><@var > > local$resultSet[1,filename]><@DQ><@CRLF><@userreferencecookie> > > <@CRLF>"> > > > > Hope that is what you're looking for. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Scott Cadillac, > > Xmlx Software > > > > [EMAIL PROTECTED] > > (403) 254-5002 > > http://www.xmlx.net/ > > > > XML-Extranet > > P.O. Box 69006 > > RPO Bridlewood SW > > Calgary, Alberta > > Canada T2Y 4T9 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > -----Original Message----- > > > From: Alex Smersi [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, October 25, 2006 1:39 AM > > > To: [email protected] > > > Subject: Witango-Talk: Secure download and http header > manipulation > > > > > > Hello -- > > > I'm search to implement a secure download, where a specific .taf > > > (downloadfile.taf) read specific file from a directory with no > > public > > > read permission and give the end-user [in transparent manner] the > > > faculty to save it on local; I'm believe that Scott Cadillac's > > > attached file [2001-based] is > > right > > > to me, but how can I adapt it to run in WiTango v5.5 environment? > > > > > > The download manager application can download .zip, .pdf and .txt > > > files. > > > Size of single file can vary between 35 bytes and 5/6Mb. > > > > > > My environment is: > > > - Windows 2003 box with IIS > > > - WiTango server v5.5.x > > > > > > I'm sure that http header is keyword here, but my knowledge about > > > manipulation of http header is limted; anyone can suggest me a > > > previous thread where can I find appropriate info? > > > Many thanks, Alex/ > > > > > > ______________________________________________________________ > > > __________ > > > TO UNSUBSCRIBE: Go to > http://www.witango.com/developer/maillist.taf > > > > > > > > ______________________________________________________________ > > __________ > > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > > > ______________________________________________________________ > > __________ > > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > > > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
