cfcontent to send any file type

I currently use this to serve a download
<cfcontent type="image/gif" file="F:\main\site.com\userfiles\#getfileinfo.fileid#.gif">
Is there a way to use this to serve any kind of file. This way I have to specify the file type, but it may change.

Um... well you could use a variable instead of hard-coding the MIME type?
Or am I not understanding what you're asking, because that sounds like too obvious a suggestion to me?
Adam

Similar Messages

  • How to upload any file type to R/3

    Please explain step by step how to upload any file type to R/3
    Thanks in advance

    Hi
    There are many ways of uploading any file type to R3, provided it depends on how do you want to store it.
    In general there are two easy ways, one is using the upload UI element, you can specify a path in the server and have configured it for all files and store the file directly in the file directory of the server.
    Secondly, you need to do some work on the sap side, like creating a simple rfc, which will take up the file content as a 'binary' (raw) data type and store in the database with the relevant parameters. you rfc will take / get the update from the webdynpro UI element ( you need to do create a model ..context / binding..etc ). The whole file will be stored in binary form.
    Hope this gives you some picture of how to go about on it.
    if you have any specific questions do let us know
    thanks

  • AE CC not exporting to any file type on Mac OSX 10.10.2

    I have been trying to export my AE sequences to pretty much any file type possible. Initially thought it was the Quicktime/H.264 error that people had noted in other threads, even tried it with AME. I've tried exporting several different projects too, some that had third party plug-ins and even test projects with just in-software assets in them. I was having no problem up until just a few days ago when I upgraded. My best guess is that it's OSX 10.10.2 related bug?
    Computer specs:
    MacBook Pro (13-inch, Mid 2012)
    Processer 2.9 GHz Intel Core i7
    Memory 16 GB 1600 MHz DDR3
    Graphics Intel HD Graphics 4000 1024 MB
    Any help/ideas would be greatly appreciated. Thanks!
    -Jishnu...

    Oh yes. My bad. It is in face the one-second mark. And it is in every
    project I have tried.
    The assets in the first project that I noticed this happening on (which was
    also the first project I opened after upgrading to OSX 10.10.2) include:
    - Solid background with a color gradient
    - Alpha Track Matte
    - Optical Flare
    - Particular
    - Null object
    But this exact same problem occurs with every project I've tried to export,
    regardless of what's in the project/comp

  • Itunes delays ONLY when playing mp3's. Also it delays when I move any file type into a playlist. Help! I'm about to go back to Windows Media Player!

    Hi friends! Like I said Itunes delays ONLY when playing mp3's. Also it delays when I move any file type into a playlist.
    Here's what I've done so far;
    I 've checked my external hardrive (by playing it off my internal instead), I've tried reinstalling (although it wasn't an uninstall), I've tried clicking on all the neccesary boxes (let itunes organize files, copy files, consolidate, and reorganize), I've tried different sound cards, I've tried moving files quickly (as some have said this works). I'm not sure what's wrong. I have 7000 songs.
    Any help would be great!

    Have you tried installing Media Manager on another computer and streaming the songs from there?
    How about smaller playlists? See the same problem?
    Kevin
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • Why is it that when i connect my ipad the laptop only detects the storage and does not allow me to send any files to it?

    Why is it that when i connect my ipad the laptop only detects the storage and does not allow me to send any files to it?

    The iTunes application is used to transfer content to the iPad.
    See http://www.apple.com/itunes/download/

  • HT3042 Please show us the video tutorial for this because i am having so much problem with my iphone5 bluetooth and can not send any file . So plz plz help me

    Please show us the video tutorial for this because i am having so much problem with my iphone5 bluetooth and can not send any file . So plz plz help me

    You have to use airdrop which is on iOS 7

  • Attach any file type in the same format and send it thorugh mail

    Dear Guru ,
    I have encountered an issue which i am not able to resolve .
    The issue is like this I need to upload any kind of file type(such as .txt, .xls, .pdf, .doc, .jpeg, .bmp)
         and need to send that file send that particular file and the same file type format attached in the mail.
    how i should approch to get solution to this issue.
    I have gone through the all prog refered in the code gallry (related to send mail with attachment) but i am not able to find out any prog which is giving guidine line attach any kind of file type from the PC (most of the prog is with either taking filetype .txt, .xls or RAW) and send it via mail .
    Need  proper guideline to resolve this issue.... how i should approch to solve this.....
    Thanks & regards
    Saifur Rahaman

    Dear Saha Da,
    Yes saha da i know using SO00 or Sap Business Workplace (SBWP) you can send it.
    But the requirment is like this it must have to do from the selection scereen of the prog .User can save the path of the file which is residing in pc in a variant and from that variant prog will run in background to automate the process.
    We can do it using harcoding the filetype while uploading data from the selection screen.
    But we have to provide the flexiblity to the user so that he/she can change to any file or any file path.
    I am not pretty sure but i my plan i am thinking 1st i will provide the provision of uploading the file into sap application server and from there we will read the file type , file content and send it to mail.
    I know it can be done but right now dont know how it can be done ..... but i will findout...
    Can you give me some more guideline reagrding this.
    Thanks & regards
    Saifur Rahaman

  • Can not send any file via bluetooth

    my 5800 Xpress music can not recently send any msg via Bluetooth. As soon as sending started, the phone will be locked where as no more action possible no keys works the phone does not even switch off by pressing its button otherwise removing the battery. pls help me

    What does it says when you try to send a file via Bluetooth?
    Previous Phones: 6600, 7610, 6230, 6230i, 1100, 1112, N70, N73, N95, N95 8GB, 5800XM, 5230, C5, iPhone 3GS, SE Xperia X10, N900, N8, SE Xperia Arc
    Current Phones: Nokia N9, iPhone 4

  • No Thumbnails of any file type

    Just downloaded and installed CS4. When in Bridge I see that the program is building previews but when it is done I get no icons. Doesn't matter what file type or what folder I click on I get nothing but building previews then a black preview area...
    So far I've tried deleting the cache files, reinstalling CS4. I have the latest updates too...

    Strange as it may seem, you most likely need to calibrate your monitor. A corrupt monitor profile can have that result. Lightroom seems to be more sensitive to a bad monitor profile than almost anything else, including photoshop.
    Hal

  • Downloads of any file type

    In trying to download any file, the download window appears and the file appears. When I try to open the file, I get a message which says the file has been moved. I have changed the download folder to different locations, with deletion option to manually, all with the same result. I only have this problem on my Vista PC. It works as it should on my Mac. Is there a simple solution?

    I have it set to manually. The download window is blank. I am still not able to download a file. It keeps telling me the file has moved. Can you give specific steps on how I might resolve this? I am grateful.

  • "Where from:" Information don't work for any file type

    As i know Safari and iChat stores the download url from a file - downloaded over the internet - in a meta tag called 'kmditemwherefroms'. You can see this information in the finder information dialog.
    But not on my system. I'm running 10.4.8 on power mac G5.
    To invesigate the problem, i used the 'mdls' comand in the terminal on a fresh downloaded file: the above meta entry don't appear.
    Any ideas to activate this feature?
    Dual 1.8 GHz PowerPC G5   Mac OS X (10.4.8)   23'' Cinema HD Display

    Hi Mike
    As a follow up to your good work, perhaps this may help to clear some of sstoll's issues.
    If you watch your raw query as you download a file you will observe that the file will appear in the found list.
    However, some will disappear from the list when they are finished downloading.
    For example,
    1) if you go to VersionTracker and download 'Google Reader', it lists as GoogleReader.zip.download until you click continue at which time it immediately disappears from the list.,
    2) If you do the same thing downloading 'DownloadComment' - it remains in the list
    3) If you right click a pdf in your browser to send a copy of the file down, it appears in the list. However,
    4) PDF's which are set to open automatically in Adobe Acrobat will appear in the list but lose their WhereFroms the second they open in Adobe Acrobat.
    These are not bugs. It is the way that the files authors' have compiled their downloadable files to either store the necessary metadata permanently or temporarily, or both depending on how the download is initiated.
    Why would one want to only temporarily store or not include the WhereFrom metadata? Perhaps for security or privacy.
    Now it is possible that the storing of the metadata may be affected by how the Privacy pane preferences are set for Spotlight at the time of the download. Certainly if the download is set to be saved in a folder that is in the Privacy pane it won't be in the index. Taking it in and out should restore the order but that depends on how the author may have set the metadata to be stored in the first place.
    Unfortunately, updating applications, installing third-party search apps and diving into some of the, particularly Terminal, suggestions posted in these forums haphazardly can have a profound detrimental effect on how Spotlight is to function or the permissions in general.
    As a general rule, we now run Disk Utility and verify/repair the permissions immediately that we install or upgrade an application. That and trying not to upset the Apple-cart by messing around with the system seems to keep our machines running as they should be.
    Again, thank you Mike.
    Good luck sstoll.

  • Please fix audiobooks to take any file type

    Why, why, why can't Apple simply let any type of file be placed in Audiobooks?
    Sure would be simpler than all the hassles so many of us have.
    PLEASE... if anyone is listening. Just fix this. Thanks.

    Because the audiobook format is more complicated than a simple file. You have to have chapter markers at each part, etc.

  • No audio on playback of any file types. Driver issue? Realtek High Definition

    I don't recall when this started happening, since I haven't used the program in a very long time. But, no sound is heard from any type of clips I drop into the program. Nothing from the source monitor and nothing from the main window.
    Volume bars show up on the main window but no audio is heard. Audio Hardware preferences have the default device set to premiere pro wdm sound (i suspect this is the issue). I updated my Realtek HD driver last night to version R2.75 (6.0.1.7246 in windows properties). Premiere Pro CS5.5
    Also, maybe not related, I can't drop audio files where I want. It's as if the audio tracks are locked. It only allows me to drop in added tracks, not audio 1 or 2. Even though I have audio in tracks 1 and 2, I can't move new files to these tracks. Even if I unlink the a/v, the audio still will not budge.
    Hopefully these screenshots help.

    I don't follow "Note the Icons in the Audio Track Headers that show this"
    In the Audio Track Headers are "speaker" icons.
    A single speaker is Mono
    A double is stereo
    5.1 says 5.1 (IIRC)
    Mono only goes in a mono track - single speaker.
    Stereo only goes in a stereo track - 2 speakers
    etc....
    Show Audio Hardware  scren grab please.

  • Wont import any file type

    I had to restore my Mac with a time machine back up, then when redownloading and opening Premiere Pro, I had to redownload the video graphics display. I done this, I can now open the software but it won't import any form of vide file.

    Mac Migration and Time Machine DO NOT WORK with Cloud program activations due to hidden files
    Sign out of your account... Uninstall... run the Cleaner...
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html (and uninstall)
    -using the cleaner after uninstalling and before reinstalling is needed
    -https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    -Restart your computer... Sign in to your account... Reinstall

  • Open any file type

    I have come on a file that I can't open - and it has no extension as a clue.
    Even though it is only 24kb and so likely to be text I'd like to know what ut is before I dump it, so does any one have ideas as to how extract the contents?
    Cheers, Colin

    Brill - I had tried it on Bean, but clearly it has its limits...
    Cheers, Colin

Maybe you are looking for

  • Dynamic path in the communication channel

    Hi, Is it possible to provide the path into the receiver file communication channel via the mapping program or any other means? In short, we want the path in the channel to be dynamic. Is it possible?, if so, how? Thanks, John

  • Open 16 bit files, as default

    Hello, all. I'd like to have ACR open files as 16 bit, as a default setting.  Where might I change the default setting to this?  I didn't see it in the preferences, unless I'm missing something. Each file has the option, when opened, to open as eithe

  • MAC APP STORE - (SURLErrorDomain erro -1012)

    When I go to the update tab on MAC APP STORE appeat thise (SURLErrorDomain erro -1012) error message.

  • Need help on setup environment

    Hello all, I downloaded Coherence 3.5.3 and installed in a cluster of 4 Linux boxes. My goal is to setup a cluster with 4 DistributedCache servers and test the performance to see how fast this cluster can run. - Linux box: Intel Xeon dual core, 8GB m

  • Is firefox the only intel accepted browser for my Leopard I Mac

    My bank says I need an Intel supported browser to keep getting online banking. I have Leapord Intel Core dup, 2GB memory and plenty of space left on my system. I had Firefox 2 years ago but deleted it as it caused crashing and messed up some software