BLOB Link (after fire I see source of blob)

Hi
I have problem with link to uploaded file.
I created own table with BLOB column ("PLIK"), MIMETYPE, FILENAME, LAST_UPDATE_DATE.
I created PLSQL procedure which move blob from apex_application_files to my table (insert as select).
I created apex normal report on my table with Blob format mask and when I click on Download link I can see only web page with source of blob something like:
"%PDF-1.3 %�쏢 5 0 obj <> stream x��Vmo�6�D��\A�0�gժ�qJ��D�KI�$}��X����a�@���(�i�d��ٰA�y�..."
Can You help me ??

Andy,
There is a section in the manual about creating uploading and downloading files, you would need to create a procedure like this, and then grant execute to public
CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
INTO v_mime,lob_loc,v_file_name,v_length
FROM oehr_file_subject
WHERE id = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
end download_my_file;
hope that helps,
Adam

Similar Messages

  • I am running 10.6.8 and using iweb for my web site. After several SEO analysis they all indicate I need H1-6 header tags. After looking at the source code I see there are none in iweb. Is it necessary to add? If so, how do I add H Tags to iweb.

    I am running 10.6.8 and using iweb for my web site. After several SEO analysis they all indicate I need H1-6 header tags. After looking at the source code I see there are none in iweb. Are they necessary to add?  Why would one add these tags and how do I add H Tags to iweb? And are there examples to look at? I am slowly learning about simple web design and assumed that iweb was stand alone without having to write code. Is this one of the reasons iweb is no longer supported? Thanks for looking at this!

    A simple text page like this:
    Heading
        sub heading
              text paragraph ....
    Is traditionally represented by html tags like:
    <h1>Heading</h1>
         <h2>sub heading</h2>
              <p>text paragraph ... </p>
    I would guess that the use of h1-h6 tags helps search engines to understand the structure of a page as the tags imply a certain structure.
    This can be compared to more generic tags like <div> that could represent any kind of content - and may be what iWeb uses (you'll have to check yourself).
    I would generally recommend that you use some kind of up to date blog/site building tool, perhaps Wordpress or Squarespace (I haven't used either one myself) that support current web technologies - this should reduce your SEO issues and make it easier to properly support mobile/tablet users.

  • Can't see Source Files in Destinatio​n View

    I added my executable to the [Program Files] / Dryness Fraction directory and a Help File to the [Public App Data] / Dryness Fraction directory in the Source Files -> Destination View window of my Installer.
    However now I can't see them anymore and I can't seem to add them again either - which leads me to suspect that they are there, but are not being displayed for some reason (see Source Files_BAD.jpg attachment).  I can for instance click on some other folder and the little blue transfer arrow is enabled allowing me to add say the Executable files to that particular folder.
    What it should look like, in another Installer I did, is the attachment Source Files_GOOD.jpg
    Is there a way I can refresh the View so that the files appear again?
    Chris
    Attachments:
    Source Files_BAD.jpg ‏158 KB
    Source Files_GOOD.jpg ‏176 KB

    Hi Chris,
    Unfortunately, there isn't a refresh button in the installer builder. I believe you are right in thinking that the files have already been added. 
    Have you tried building another installer and see if you can replicate this issue? If you went through with the installer builder, could you see the files in the appropriate locations on the target machine after installation?
    I would also recommend creating a new folder in Destinations. Then try to add the executable into the new folder in the Source File. Give that a shot and see if you can see your executable in the new folder. Please refer to the attached screen shots for more detail.
    I hope this helps,
    Josh L.
    Applications Engineer
    National Instruments
    Attachments:
    Create new folder.png ‏91 KB
    source file add.png ‏117 KB

  • Adobe Media Encoder CC renders do not reflect changes to Dynamically Linked After Effects Comps

    When rendering a Premiere timeline with a dynamically linked After Effects composition, Adobe Media Encoder will sometimes use an older version of the linked composition (even after I have saved changes in the After Effects comp).
    For example, if I correct a spelling mistake on some text in After Effects, save the composition, and then add the sequence to the render queue in Premiere, the final output from media encoder still has the old spelling.
    If I do a straight export from Premiere instead of adding to render queue, the output is always correct. I've noticed this problem on several different Windows 8.1 systems.
    All versions of the software are up to date as of today.
    Why is this? Is it something to do with the disk cache in After Effects? Does media encoder have it's own cache that I need to clear?

    Hi, I've been having this same issue.  Here are some additional things I've noticed about it:
    Changes are reflected properly when played back on timeline in Pr CC 2014.
    Happens regardless if the dynamic link file was rendered or not, thus deleting the render files does not fix the issue.
    The issue can persist through saving, closing, and reopening both AE and Pr. 
    I'm using OSX 10.9.4, so this is not just a PC issue.
    Other than manually watching for every change to be reflected in the render, there is no way to know a problem has occurred.  Needless to say this can be incredibly costly.
    Please address this quickly, it's completely unacceptable that what we render out could be a different version from what we see on the timeline.
    PS Some additional things I will be testing:
    Does the issue persist through closing all CC apps, including Media Encoder.
    Does rendering directly out of Pr, i.e. not using Media Encoder, fix the issue.

  • FF 6.0 doesn't open pdf-links, after clicking on "open pdf" error message says file not supported or damaged. IE opens file all right. Please advice.

    Firefox 6.0 doesn't open pdf-links after clicking on "open pdf". I frequently need to do literature searches and I need to view pdf files in the browser. After clicking on the pdf - link of a file the main options are to open or download the pdf. Every time I try to open a pdf-file a blank page and an error message appears saying the file would not be supported or is damaged. IE, however, opens the file all right. I tried various changes in the security and cookie settings without success. Please advice.

    Hi SGckc,
    This document is almost certainly a dynamic XFA form. Unfortunately, our mobile Reader does not support displaying or filling such forms. The application that produces this form embeds this message into the document so that non-supportive viewers (like ours) will display this "error" page when the document opens. I do realize that this is confusing and I would like to add some additional detection to our Reader for this case. However, we've avoided doing this for fear of confusing users even further. Your feedback helps though. Hopefully we'll find a way to detect this case and present a better message to the user like: This form is not supported by the mobile version of the Adobe Reader. Please open and fill it on the non-mobile version of the Adobe Reader for Windows, Linux or Mac OSX.
    Thank you for contacting us!
    Pat

  • Program monitor constantly freezing/stalling when playing dynamically linked After Effects comps

    I'm having program monitor issues when I try to play dynamically linked After Effects comps from my Premiere timeline. I realize it's expected to have jerky playback since After Effects comps are memory and CPU intense, but it doesn't seem normal for these things to happen:
    Sometimes during playback, the program monitor completely freezes while audio continues to play and the CTI continues to move along timeline. When this happens, there's no way to stop the playback at all using mouse or keyboard... so I'm forced to just quit Premiere and re-open project.
    Program monitor can also freeze when I place the CTI on top of the After Effects comp. Sometimes if I wait a minute, the screen could update and eventually display the After Effects comp.
    I'm unable to render effects on the Premiere timeline because it just hangs at "Rendering frame 0" and never advances forward.
    There's nothing special about the After Effects comp I'm linked to... it could just be regular text that I animated using ease keyframes and motion blur.
    I originally thought it was related to GPU settings but it doesn't make a difference if I set After Effects to use CPU instead of GPU or set Premiere's Mercury Playback engine to software, CUDA, or openGL. I even have the latest CUDA drivers installed on my Mac. But I must mention that this issue got significanly worst after updating to OSX 10.9 Mavericks.
    Here's my system details:
    OSX 10.9 Mavericks
    Premiere 7.0.1 (105)
    After Effects 12.0.1.7 (I installed the OS X Mavericks crash update fix)
    The most prevalent error messages displayed in the OSX console is:
    Adobe Premiere Pro CC[402]: dynamic_cast error 1: Both of the following type_info's should have public visibility.  At least one of them is hidden. N5dvaui2ui8MessageTIKNS0_7UI_NodeEEE, N5dvaui8controls23UI_PictureSupplyMessageE.
    Here's a few that are less common:
    Adobe Premiere Pro CC[402]: [PremiereCocoaMacApplication handleMenuCommand:1633841013 from <DVAMacMenuItem: 0x6100002f8300 About Premiere Pro>]
    After Effects[377]: -[NSMenu menuID]: unrecognized selector sent to instance 0x600000077080
    If anybody has any ideas or suggestions, I would really appreciate it.
    Thanks,
    -Pete

    I think I found the problem... OSX Mavericks introduced a power saving feature called App Nap that basically slows down an app that appears to be doing nothing or is minimized in the background.
    So essentually when I try to display an After Effects dynamically linked comp via my Premiere timeline, it freezes because OSX put After Effects to sleep.
    To fix this, I had to disable the App Nap feature on After Effects. Now everything is performing back at pre-Mavericks levels (which is about 10% stalling playback issues vs 90% stalling). I also noticed that all of the console errors went away.
    To disable App Nap in OSX...
    Go to your Applications folder
    Expand the After Effects CC folder
    Right-click on "Adobe After Effects CC.app" and select Get Info
    Add a checkmark beside "Prevent App Nap"
    Restart the application
    I also did this with all my Adobe apps just to be safe.
    Hope this helps
    -Pete

  • Re-linking After Effects assets inside Premiere

    I have a premiere project that has a dynamically linked After Effects project. I wanted to rename the folder that all my footage resides in. When I do that I relink all my footage / After Effects files when I open the project. That all works great. However, the After Effects project itself is referencing the footage in the old location resulting in bars and tones showing up. How do I tell After Effects where the footage is now?
    If I open up the After Effects project and double click on one of the missing assets to relink it, it trys to browse my hard drive looking for what I named the sub-clip inside Premiere. I need it to reference a clip inside Premiere.

    That does work: you don't need to reference a clip inside PrPro, 'cos a clip inside PrPro is just the link to a footage on your hard drive. When you replace a clip or a group of clips in PrPro timeline with dynamically linked comp, AE creates a new composition and imports those clip(s) into the project. But then again, those clips are just links to original footages on your hard drive with properly set In and Out points in the newly created composition. Hence, select a missing clip in AE Project panel, right-click and choose Replace Footage -> File..., locate the original footage on your hard drive and open it up. If all missing footages are in the same folder, AE will automatically find the rest.

  • Ever time I send a link in Fire fox it transfer to Microsoft outlook. How do I turn off microsoft outlook program

    Ever time I want to send a link in Fire fox it transfer to by itself to Microsoft outlook. How do I turn off Microsoft outlook program. I tried numerous of time to set default to fire fox

    Hi
    Please find the links given below to call HP technical support.
    If you live in the US, contact HP Here.
    If you are in another part of the world, start Here.
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Dynamically linked After Effects comps causing Premiere to freeze (after latest updates)

    Normally in a dynamic link, any changes made in After Effects would be displayed in Premiere within a few seconds. However, after the latest software updates... it now takes 1-2 minutes and the Premiere interface is completely frozen during that time.
    Anybody else having similar issues?
    -Pete

    Hi, thanks for the link but I'm having a different issue. My Premiere interface actually freezes and I'm unable to use Premiere for 1-2 minutes.
    App Nap is disabled for all Adobe apps and I do frequenly empty my Adobe Media Cache and After Effects disk cache and it doesn't prevent the freezing.
    Or sometimes just having a dynamically linked After Effects comp on the timeline slows Premiere down to the point where even scrolling through assets in my project panel is very jerky.

  • Using iMessage on iOS 8 with family sharing can other people linked to the account see my iMessages? We each have our own apple IDs.

    Using iMessage on iOS 8 with family sharing can other people linked to the account see my iMessages? We each have our own apple IDs.

    no… the way to confirm is make sure in settings>messages>send and receive that all the apple ids are different in there.

  • We can't package links after updating to Mac 10.9.2

    We can't package links after updating to Mac 10.9.2

    From the Mail menu bar, select
    Window ▹ Connection Doctor
    Click the Show Detail button. A drawer opens. Try to send a message and post the text that appears. Anonymize any personal information before posting.

  • Cannot see Source system Assignment after Transporting to QA

    Hi All
    I need your help once again, I transported a ODS object from DEV to QA, In dev it has a source system assignment but, in QA I don't see the source system assignment.
    I went into sm59 and did a test connection and authorization, everything looks fine. I did a restore connection and replicated data sources, and transported again, but still I don't see the source system.
    On R/3 side the application componenet nodes did not get transported with the data source.
    Please let me know if I am missing anything that needs to be transported.
    Thanks
    Latha

    Hello Latha,
    Please see the import log for that transport in se01 in the BW dev system.What is the exact error messages it gives?U may need to also look at the long text of the messages.
    Another point abt what u have said..that in the corresponding R/3 QA system,the datasource is not showing up in rsa6,am I right?
    then there was some problem with the transport from R/3 dev,that contained the datasource definition.check that transport too..
    cheers,
    Vishvesh

  • Uable to see Administrator link after importing Security Group

    Currently our project is using defaultLDAP .
    We created the users and groups in weblogic taken the export of the Groups by going into Migration tab in
    weblogic console > secuirty rleam > myrelam > migration tab > export --when we click we get set of files in the specified directory .
    I cleaned the users and took one more export without users.
    Now when I'm applying these security files in some env I'm not getting the Administrator Link and there I'm not able to see the Session log .
    Do we need to select something in Provider or Roles and Policies before taking export ?
    Can we fix these security files XML by updating the tag values.
    Also previously if we login the Presentation url there was no ACT AS option in SIGN IN AS (USER NAME) drop down
    Please suggest how to fix this .

    Hi,
    Maybe you have to refresh the GUIDs of the users?
    http://obibb.wordpress.com/2011/01/03/how-to-solve-nqserror13041/
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • PDF outputs continually crash after editing an html source file

    I have English and multiple localized versions of a RoboHelp webhelp project. I have created several PDF outputs for the localized versions. I can generate the PDFs fine when I don't touch any of the html source files.
    However, I had to make a change to one of the html source files to remove a <dl> from the source file. After making the change to the source file in an outside text editor (Notepad ++), I went back to RoboHelp to generate the PDF, and the PDF output crashed.
    The reason I was using an outside text editor is that when I tried to edit the <dl> HTML tags in RH, its HTML editor deleted all text within the tags being edited.  There was no undo at this point.  In anotehr attempt to use the RH Design editor, RH didn’t delete the <dd> or <dt> tags when those tag styles were changed to <h4> and <p>, respectively. RH inserted the new html wrapper inside the existing ones, instead of replacing it.
    Also, during the PDF generation process, a Visual Basic error message will appear dozens of times stating that the application was interrupted.  I must press OK to continue for each error message.
    What gives with the PDF generation failing like this?

    I hate to say it but it sounds like something you are doing in the external editor is not liked by RoboHelp.
    It could just be the way that text editor codes the file. I use EditPad Pro and that has various options for text encoding. My guess is your editor is not set to what RoboHelp expects.
    Aftr that what I would do here is create a new one topic project and recreate the problem, with the minimum of text. It may help you spot the code RoboHelp does not like.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • No link after exporting Crystal report as pdf file

    Hello,
              If my Crystal Report contain link to the .avi file saved on the local hard disk and if I export the Report as .pdf file, pdf file does not contain that link. Why?
    The overall scenario is like-
    My application fires a query on SQL Server database and result of that query is stored in a Dataset. This dataset is set as a datasource to the Crystal report.  Now some, records (returned by the query) have .avi files(i.e. Event Videos which are stored on the local hard disk) associated with them. I have stored these .avi files in a specific path on local Hard disk say "C:/EventVideos/*.avi" .   I used a special format in these avi files name. (like - "EventVideo_1.avi" (This is for 1st event), "EventVideo_5.avi" (This is for 5th event)etc. to identify which avi is for which event. All events do not have avi files associated with them)
          Now, I take one object in crystal report. Using it's Format editor created a formula for hyperlink as -
          "file:///c:/EventVideos/EventVideo_" + {DataTable1.EventID} + ".avi" .
    EventID is the field of dataset which has ID's (like 0, 1, 2,  3, 4 etc) of all resulted events. It is of a String data type.
         Now when I export, my report as .xls, .rtf, .doc, I can open the avi files. When I bring cursor on this object, cursor get change to Hand and after click on it avi file start to play.
         But if I export it as .pdf, it does not contain the link for avi files. When I bring cursor on this object, it does not change to Hand, and after click on it nothing happens. No video play.
    I stick to this problem.
    Appreciate your help.
    Thanks in advance.

    Taken from CR Help File:
    "PDF format is a page-based format. The exported documents are intended for printing and redistribution. PDF format will export both layout and formatting in a manner that is consistent with how the report looks on the Preview tab. PDF format embeds the TrueType fonts that appear in the document. (Non-TrueType fonts are not supported.) This export format does not support Microsoft font-linking technologyu2014which is used to provide support for some extended character sets such as Chinese HKCS. Therefore, the fonts used in the report must contain all of the required glyphs. These URI types are supported for hyperlinks: "http:", "https:" and "mailto:".
    Therefore your hyperlink is not working as u are using File type when cr only supports http https and mailto uri types

Maybe you are looking for