It is now possible to send back behavioral data from Adobe Campaign Standard to Adobe Campaign 7, thus allowing marketers and data analysts to build a 360° view of marketing campaigns; create advanced audiences and segments that incorporate ACS behavioral data; and more effectively measure the ROI of marketing activities.
My project involves the following: Customers will create power point presentations and save them as web pages. This creates an index file and a subdirectory which has all the supporting files (images, javascript, etc). For example, if I have a power point presentation with several slides and images, etc, and I call it MyPres, it will create a file called MyPres.htm, and a directory called MyPresfiles that contain all the images, etc. That support the presentation. There is a concrete requirement and there is no way around this. My question is, all of these files will be stored in web-inaccessible directories/subdirectories of the server, for security reasons.
I am trying to write a cfm page that will display these 'PowerPoint Saved As Web Page' pages. I have tried using to get the index file, which works fine, but none of the links or images display correctly because they are contained in subdirectories. To generalize this question, how do you display content of not only files, but files and their subdirectories to the client without having to put that content in a web accessible folder? I'm using the following code to display a.pdf file in my browser: this works fine on my development machine, but when i put the code on our production machine it does not display the PDF in the browser, instead it pops up a box that says FileName: file.cfm File Type: Adobe Acrobat Control For Active X.
My thought is something is wrong with the Active X viewer. However if i go directly to the pdf using the url in the browser window it displays fine.
Any thoughts as to what would cause this to happen? We are using MX 7, Server 2003, IIS 6 Thanks. If your browser does not understand the mime type definition of 'PDF' then it will treat it as an unknown file and cause a forced download. Your browser may also not have the reader plugin installed on the second machine, but has the reader installed on the computer otherwise - this will also cause the browser to force a download rather than view inline. To start with, try next - verify that the PDF reader plugin is actually installed in the browser that is causing the pop-ups is this second machine possibly a Win98 or earlier OS? The plug in is installed.
Like i mentioned if i go to the url directly the PDF displays just fine.(urlwww.mywebserver.com/PDFConvert/temp.pdf/url) The code I am using works on every machine except when installed our production server. (win 2003, iis 6 cfmx7) The cfcontent tag acts y for all types of files on production. It won't display.xls either. I doubled checked and yes it is enabled in the coldfusion administrator.
If i set deletefile='yes' cfcontent does delete the file it just doesn't display the file to the browser. So wouldn't that indicate that the tag is executing? I'm stumped, my best thought is a security restriction that is set on the production server. I've looked trough IIS and i'm not able to see anything that is set differently then the other machines. I'm still working on a solution for this! I'm using CFMX 6.1 and cfcontent to pull a.pdf from a directory to hide it's actual location.
After the user downloads the doent, they try and open it in Adobe Acrobat, they get the following error message: Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). If I download the file directly via ftp, it works fine.