How can I make the browser use the proper filename during a forced save, using CFCONTENT/CFHEADER

We have a client using CF8 Server for a site and I am using the CFHEADER/CFCONTENT method to force a file to save to the end-user's computer.
The dialogue comes up as expected, but regardless of what is found in the CFHEADER for a filename, it tries to save the file as the CFM page name.
i.e. The CFM page is signature.cfm. I am trying to make it save a TXT file to the user's computer, which it seems to be trying to do, but the instead of using "sig.txt" as the filename as outlined in the CFHEADER, it is defaulting to "signature.cfm"
While I know that I could change the name and extension and the content in the file would be correct, the mass majority of end-users will not know that they can do that, and the client does not want it to become more complicated than necessary.
Is there a way to make the file change to the proper name in the SAVE AS dialogue?
Thanks in advance.
Code so far is pretty straight forward ...
<CFHEADER name="Content-Disposition" value="attachment; filename=sig.txt">
<CFCONTENT type="application/unknown" file="#xf#">

I'm guessing the type="application/unknown" is interfering. Try type="text/plain".

Similar Messages

  • How can I make a folder in the TV for my home movies

    How can I make a folder in the TV shows for my home movies collection?  I have created a folder in the library in finder and put all the videos in there but they do not appear in itunes.
    pshultz

    It's best to never move iTunes media around in Finder. Add it to the Library through the iTunes interface by dragging them into the window. Once they've been added to the library, you can try using Get Info on the files in iTunes and change the tag info to make them group together. (A unique album name should do this.) If you want them to be included with TV Shows, you can try using Get Info to set the Kind to TV Show (found under the Options tab in Get Info), but I'm not sure if it will work. Otherwise, you could make a playlist and drag them into to access them all in one convenient spot.
    If you add the items as noted above and they still do not appear in your library, it's probably because they are not a compatible format.
    Message was edited by: Diane Wordsmith

  • How can I make iTunes sort on the first word by default, even though that word is "The" or "A"?

    How can I make iTunes sort on the first word by default, even though that word is "The" or "A"?
    I myself think that (for instance) "A tribe called Quest" should be sorted under "A", not "T".
    Now I can edit the sort options manually per track and/or per selection, but I would really like to just kill this "iTunes-knows-how-you-should-sort"-feature in iTunes.
    Anyone any suggestion on how to do that?
    Thanks

    Here is a modified version of one of Doug's Scripts. My modification was to add Sort Name to the list of tags that could be changed. I tried it on a single track and it worked. I recommend backing up your library first. Select the tracks you want to change (or all tracks) and run the script from the Applescript Editor.  If it works as intended, save it so you can apply it to newly imported tracks.  And, yes, I know this isn't the exact answer to your question, you want to change a preference setting in iTunes (if there is such a setting).
    Original script can be forund at http://dougscripts.com/itunes/scripts/ss.php?sp=thistagthattag
    Modified script is below. Start up Applescript Editor, paste it into a new window.  Start up iTunes and select the tracks to modify.  Click Run in the Applescript Editor.  Follow the instructions.
    (* Put This In That
    v2.0 april 22 2008
    - runs as universal binary
    - adds "Show" tag
    - consolidated code
    - saved as script bundle
    v1.7 October 3, 2006
    - adds "Album Artist" as option
    v1.6 October 28, 2004
    - works around iTunes 4.7 selection bug
    v1.5 ('04/1)-- adds "grouping" tag
    Get more free AppleScripts and info on writing your own
    at Doug's AppleScripts for iTunes
    http://dougscripts.com/itunes/
    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
    Get a copy of the GNU General Public License by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    or visit http://www.gnu.org/copyleft/gpl.html
    -- CONSTANTS
    property allOptions : {"Song Name", "Artist", "Album", "Album Artist", "Composer", "Genre", "Comments", "Show", "Grouping", "Sort Name"}
    property my_title : "Put This In That"
    global thisTag, thatTag, theNewTags, theOriginalTags, yn
    tell application "iTunes"
              if selection is not {} then -- if tracks are selected...
                        set sel to selection
                        set numTracks to (length of sel)
                        set s to "s"
                        if numTracks is 1 then set s to ""
                        display dialog "The data from one tag REPLACES the data in another tag in all the selected tracks, with option to delete data in first tag." & return & return & (numTracks & " track" & s & " selected.") buttons {"Cancel", "Continue"} default button 2 with title my_title giving up after 30
                        if gave up of result is true then return
                        my choose_this_tag()
                        my choose_that_tag()
                        set yn to (button returned of (display dialog "Delete data in " & thisTag & " afterwards?" buttons {"Yes", "No"} default button 2 with title my_title giving up after 45) is "Yes")
                        set oldfi to fixed indexing
                        set fixed indexing to true
                        repeat with t from 1 to numTracks
                                  tell contents of item t of sel
                                            set theOriginalTags to {get name, get artist, get album, get album artist, get composer, get genre, get comment, get show, get grouping, get sort name}
                                            set theNewTags to theOriginalTags
                                            my do_put()
                                            set {name, artist, album, album artist, composer, genre, comment, show, grouping, sort name} to theNewTags
                                  end tell
                        end repeat
                        set fixed indexing to oldfi
              else
      display dialog "No tracks have been selected." buttons {"Cancel"} default button 1 with icon 0 giving up after 30
              end if -- no selection
    end tell
    to choose_this_tag()
              tell application "iTunes"
                        set n to (choose from list allOptions with prompt ("Select a tag to get data from:") with title my_title)
                        if n is false then error number -128
                        set thisTag to (n as text)
              end tell
    end choose_this_tag
    to choose_that_tag()
              set o to {}
              repeat with t in allOptions
                        if (t as text) is not thisTag then copy t to end of o
              end repeat
              tell application "iTunes"
                        set n to choose from list o with prompt ("Use data from the " & thisTag & " tag to REPLACE data in...") with title my_title
                        if n is false then error number -128
                        set thatTag to n as text
              end tell
    end choose_that_tag
    to do_put()
              try
                        repeat with i from 1 to (length of allOptions)
                                  if thisTag is (item i of allOptions) then
                                            set thisTag_sto to (item i of theOriginalTags)
                                            exit repeat
                                  end if
                        end repeat
                        repeat with i from 1 to (length of allOptions)
                                  if thatTag is (item i of allOptions) then
                                            set (item i of theNewTags) to thisTag_sto
                                            exit repeat
                                  end if
                        end repeat
                        if yn then
                                  repeat with i from 1 to (length of allOptions)
                                            if thisTag is (item i of allOptions) then
                                                      set (item i of theNewTags) to ""
                                                      exit repeat
                                            end if
                                  end repeat
                        end if
              end try
    end do_put

  • How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)

    How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)
    and I know it is being over-ridden by
    .gridContainer {
      width: 88.5%;
      max-width: 1232px;
      padding-left: 0.75%;
      padding-right: 0.75%;
      margin: auto;
      clear: none;
      float: none;

    Abdelqader Alnobani wrote:
    How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)
    and I know it is being over-ridden by
    .gridContainer {
      width: 88.5%;
      max-width: 1232px;
      padding-left: 0.75%;
      padding-right: 0.75%;
      margin: auto;
      clear: none;
      float: none;
    Logically a structure something like below should work BUT whether or not it will upset the FG I don't know as I wouldn't ever use it.
    <div class="gridContainer">
    Top Code Section Goes Here
    </div>
    <!-- close gridContainer -->
    <div id="fullWidth">
    Full width section goes here
    </div>
    <!-- close fullWidth -->
    <div class="gridContainer">
    Bottom Code Section Goes Here
    </div>
    <!-- close gridContainer -->

  • My computer is registered to purchase from the US store. How can I make a purchase from the Ireland iTunes store?

    My computer is registered to purchase from the US store. How can I make a purchase from the Ireland iTunes store?

    HerbertBack wrote:
    How come I can buy foreign books through Amazon as e-book, but the same book can't be downloaded from iTunes? That doesn't makes sense.
    Why would you think that all stores would have the same policy?
    Amazon allows it, iTunes does not.  That is why.  Like most companies, Apple does not forward explanations to al of their decisions to the general public.  It does not have to make sense to you, for it to be true.  Apple has teams of experts that have determined that this is how they should conduct their business.
    With iTunes, you cannot use other countries stores.
    Sorry

  • 2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?

    2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?, what if I buy a movie later? i will get the same problem!!! still I do not know how the avengers ends!! please do not tell me haha, focus on the problem here!

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
    Currently, if your purchase happens to be your most recent purchase you will not be redirected to the report form, in this case use the report a problem option from the invoice that was emailed to you.
    I believe your issues are probably a network issue, which unless you resolve are likely to be repeated again.

  • How can I make different catalogs from the same image

    How can I make different catalogs from the same image where that image has been changed in some way between the catalogs. For instance if I wanted to have a catalogs for cropped images and have 3 catalogs one for 4x6 , 5x7 and 8x10 cropping. When I tried this , if I changed a file in one catalog that same image in the other would change also.

    Do not confuse the creation of the crops and the display in collections per crop ratio.
    Of course one virtual copy (VC) per crop ratio is needed. If the same image should be cropped in all 3 mentioned ratios there would be 3 VCs.
    The OP asked how to have/see a set of same-crop-ratios.
    After having created the virtual copies for whatever crop ratio he wants, the way to display this result in the fashion asked for is via smart collections, provided they can be found. Without a plugin the naming of the VC with the crop ratio applied is a straight way to achieve that.
    IF the wish is to get new crops automatically added. (See my answers 2+3)
    IF the wish is to creat static collections per crop ratio for a certain set of images, I'd go as follows:
    1. Select all images you want to have cropped in that way,.
    2. With this selection click on the + to add another collection and fill the dialog box like this:
    Then navigate into this newly created selection and perform the 4x6 crop - according to taste individually or by synchronizing the first crop.
    Cornelia

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • I HAVE TO INSTAL A PRODUCT C LLED "KUDANI AIR " . FAILURE TO DO SO IS BASED ON  ADOBE AIR , SO I AM TOLD . HOW CAN I MAKE SURE THAT IS THE CASE ?? HOW CAN I SOLVE THE PROBLEM IF THIS IS THE CASE ??

    I HAVE TO INSTALL A PRODUCT CALLED "KUDANI AIR " . FAILURE TO DO SO IS BASED ON  ADOBE AIR , SO I AM TOLD . HOW CAN I MAKE SURE THAT IS THE CASE ?? HOW CAN I SOLVE THE PROBLEM IF THIS IS THE CASE ??

    if you try to install an app that depends on adobe air, you should be prompted to download and install adobe air (unless it's already installed).
    you can download and install directly so you're not prompted by that app, Adobe - Adobe AIR

  • How Can I make I Tunes Shuffle the Artist..........

    How Can I make I Tunes Shuffle the Songs and More importantly the Name of the Artist,I noticed that on my iPod I can hear 5,6 songs back to back by the same Artist,,HOW DO I CHANGE THIS???? I know how to click on the option in the Smart Shuffle to less likely to Play the same song by the same Artist,,BUT I Would love to not hear back to back songs from the same Artist when I am playing Music from my ROCK AND ROLL Play List..???? THANKS YOU FOR HELPING ME..:)

    I figured it out

  • On a website clicking on highlighted text in blue, the browser should take you to info on that subject. My Firefox opens a blank page and says "search history and bookmarks." How can I make it go to the info highlighted in blue text? Ver 3.6.15

    Usually the browser will take the user to info pages when a click on blue text is done. My browser just opens a blank page and has "search history and bookmarks and then just sits there. I can change that so it will do nothing and the message is "type a web address". It used to work fine. How can I fix this.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • I am trying to use an education program that needs Java applets to install and use and it will not use Safari. When I download IE from the web it will not install. How can I get a browser that will work on my MacAir for travel use of this program?

    I am trying to use and education program that needs Java applets and it will not run on Safari. IE will not install from the web. How do I get a browser that will work to install so I can use this program when I travel.

    Try using FireFox. IE will only run on a Mac if you run Windows on the Mac.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows 7 or Windows 8.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusion and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. A more recent comparison of Parallels, VM Fusion, and Virtual Box is found at Virtualization Benchmarks- Parallels 10 vs. Fusion 7 vs. VirtualBox. Boot Camp is only available with Leopard and later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • How can I make iMessage work on 2 iPhones with 2 different phone numbers using the same Apple ID?

    My work requires me to split time between two countries (Ph and Bn). I had an iPhone 4 with a Ph number and a Nokia for the Bn number. iMessage was running on the iPhone 4 with the Ph number and my apple ID. I recently replaced the Nokia with an iPhone 5 which I set up using the iCloud back up of my iPhone 4. I cant seem to set up iMessage (and Facetime) the way I want it to work on the iPhone 5. Im not sure if iOS 6 would allow me to do this so I'm throwing this out to the forums to check if its possible.
    iPhone 4 w/ iOS 6
    - uses Ph sim card
    - Ph number set in Phone>My Number
    - iMessage>Send & Receive has the following data
    Ph Number - greyed outand checked
    Apple User ID - checked
    iPhone 5 w/ iOS 6
    - uses Bn sim card
    - Bn number set in Phone>My Number
    - iMessage>Send & Receive has the following data
    Ph number greyed out and not checked
    Same Ph number checked
    Apple User ID checked
    Ive tried turning on/off my iPhone 5 and logging on and off iMessage but I cant seem to get it to update the iMessage phone number to the Bn number. Any idea how I can do this?

    I believe because you migrated from a Nokia to an iPhone you need to register the Bn phone number with your Apple ID so it can be used for iMessage. The Pn number seems to be the only one registered
    Go here > https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Manage your Apple ID and see if that does the trick
    Hope that helps

  • How can I make an external monitor the main display?

    I have a mid 2007 iMac running OS X 10.4. The internal monitor is broken and all it shows is a bunch of lines.
    I have connected an external Samsung monitor. All I see in it is a desktop background: no icons, no menus, no dock. I believe this is because the display is in extended mode and the main display is the internal monitor. I cannot use the System Preferences Panel to change this, because the internal monitor is useless.
    I have a second, newer iMac, from which I can login to the first via ssh.
    Is there a way to make the external monitor the main display from the command line?
    (I have though of editing the Preferences List, but I do not know what to change and how to change it. I do have Developers Tool installed and thus can access the Preferences List Editor.)
    Thanks in advance!!!
    Gustavo J. Mata

    Hi everybody!
    To solve the problem I wrote a script that creates a Systems Preferences windows which shows up in the external monitor. Once this happens the configuration can be changed manually, to make the external monitor the main display. This is what I did:
    First I created a user with automatic login in the faulty machine. To do this:
    1.- Restarted this malfunctioning iMac in Firewire Target mode.
    2.- Rebooted the working iMac using the other machine as startup disk.
    3.- Created the user.
    4.- Restarted both machines normally
    Next I wrote a script which opens System Preferences and shifts its window to the left:
    5.- In the working machine I saved the script as a 'Run only' application:
    tell application "System Preferences"
    activate
    set x0 to 1080
    set y0 to 200
    set dx to 800
    set wx to 600
    set wy to 600
    set the bounds of the first window to {x0, y0, x0 + dx + wx, y0 + wy}
    end tell
    6.- Then uploaded it to the iMac with the faulty screen.
    7- Shut down both machines.
    Then I added the script application to the automatic login user in the faulty machine:
    8.- Restarted the malfunctioning iMac in Firewire Target mode.
    9.- Rebooted the working iMac using the other machine as startup disk.
    10.- In System Preferences added the script to login items.
    11.- Restarted both machines.
    The System Preferences window now showed in the external terminal. I was able to go into the Displays pane and set the external monitor as the main display (dragging the white bar to it).
    Cheers,
    Gustavo J. Mata

  • How can I make Color Tags color the whole line?!

    All,
    I have been using Color Tags every since they first  appeared on the Mac. It WAS great to color code files and folder of which I now have hundreds done that way. Problem is that now Apple has done away with the easy to see, easy to use colored line and replaced it with a stupid tiny dot. How can I get my colored lines back? Why does Apple keep changing things that have worked for year into things the are HARDER to use?
    Thanks,
    Dan

    "Labels" has been changed to "Tags" in Mavericks. It appears that you cannot modify the appearance of Tags in Mavericks at this point.
    There have been several threads on the subject in this forum, and the some of the suggested solutions are to revert your OS back to the system you had prior to Mavericks, or investigate 3rd party software such as Pathfinder, which allow you to modify the  presentation in the finder -
    www.cocoatech.com/pathfinder/
    Apple does not monitor these threads, so the only way to make sure way to make sure Apple hears your opinion on this is to give your feedback directly to Apple:
    http://www.apple.com/feedback/macosx.html
    MtD

Maybe you are looking for

  • Using an External Hard Drive when creating Movies

    Hi I am trying to ask iMovie09 to store the projects I am creating on an external Hard Drive. I have a hard drive that I was using with my G^ and iMovie06HD without any problem. I don't see anything in IM09 that will give you the option of where to s

  • Business Area is not flowing to Billing Doc Line item

    Hi, Since recently we have observed that in some billing document creation, the business area in sales order line item is not flowing to the billing document line item. VBRP-GSBER remains blank due to which we face problem in J1IIN txn. This is not h

  • Item layout combinations

    I would like to display some of my items in the following format: DISPLAY NAME IMAGE TEXT DESCRIPTION with both the display name and image linkable to underlying documents stored in the content area. The only way to make the display name and image li

  • JCAPS 5.1.3 ED com.stc.importexport.module.STCNodePasteUsingImportExportAct

    When I start ED I see the following exceptions. java.lang.ClassNotFoundException: com.stc.importexport.module.STCNodePasteUsingImportExportAction at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged

  • Reg: Material Ledger Account posting

    Hello Everyone, We have Material Ledger active for a plant with transaction based price determination (Price Control V). I have posted a GR & its creating 2 Accounting docs. One with Transaction keys BSX, WRX & PRD. WRX is calculating correctly based