HTTP/1.0 400 Bad Request Date: Fri, 04 Jan 2008 16:27:22 GMT Server: NetTalk-WebServer/4.23 Beta Content-Length: 444 Content-Type: text/html Connection: close <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><link href="styles/error.css" rel="stylesheet" type="text/css" /><title>400 Bad Request</title></head> <body class="ErrorPage"> <hr></hr> <h1>Bad Request</h1> The requested file was not valid <br><br><hr></hr> </body> </html>
Wolfgang,
I get the above with the following setup.....
The borwse column has the path/ filename of the TIF. It is \I111034.TIF . I also tried it without the slash. I hard coded one entry/file name during the startup of the application and the table is a memory table, refereshed every 15 minutes. All the rows refer to the same document.
The physical file is in every folder underneath the WebCustomer01 root folder I am working within. I am testing locally.
The web browse column is setup in the template as:
Type:String
Field: XTP:ArchiveTitlePath
Description:Downlload
Display:'Download'
Picture '@s127'
Header:'Download'
Header Tooltip: 'Download Docs'
Column CSS Class: Custom
Hyperlink Tab:
URL: 'DWNOrderFilePage?newdocname = ' & XTP:ArchiveTitlePath
TargetFrame: '_blank'
The NetWebPage template is setup as:
Page Name: DWNOrderFilePage.pdf
Page Type: PDF
PDF loc:filename
I store the actual path\filename from the table, in a session variable docname using the Start of SendPacket embed
In the NetWebPage routine I load loc:filename from the session variable in the Processed Code Embed.
This all work well when the file is a PDF. I provide online access to for PDF statements to my customers this way.
Thanks,
Dave