Urgent Help Regarding PDF and Word Document Downloading

Many Thanks Shaik for you humble help. Actually now what I did in the past 3 days,
I used Oracle Intermedia to store my PDF and Word Documents in the database using Oracle SQL Loader. Then I used PL/SQL Server Pages and Oracle Web Toolkit for the downloading of my documents.
Now the problem is I saved all my formatted documents in the databse and for retrieval I am using following code in my stored procedure
* Select BLOB Data
select blob_data into myblob from mytable where blob_name = name;
Setup headers which describes the content
owa_util.mime_header('text/html', FALSE);
htp.p('Content-Length: ' || dbms_lob.get_length(myblob));
owa_util.http_header_close;
Initiate Direct BLOB download
wpg_docload.download_file(myblob);
end;
The structure of the mytable table:
create table mytable
doc_id varchar2(128),
doc_name varchar2(128),
blob_data blob
But when it prompt the client to download the file actually it gives the junk file name like 'B104ea56' (which i understand is the address of the blob address). What I want is to show the "SAVE AS" download box with the proper document name which is stored in my field in the following way
1 SALES.PDF
2 PLANNING.PDF
3 MANUAL.DOC
4 STANDARD.TXT
If I set the MIME type for the file format than it automatically starts download the file to the client browser, that I do not want, It should ask the user to download with the proper document name.
Waiting consiously for your help
Regards

Presumedly you'd like those documents being accessiable by users as well, so they should be put on a web server, ftp or nfs sharing. You can just add the urls to those documents, or the directory they are in, into robot system as starting points and let robot run to collect them.

Similar Messages

  • Storing PDF and Word document in oracle database

    any idea, how to store PDF and word document using oracle database.
    thanks

    The common approach is store as BLOB in database, use DBMS_LOB package to handle the loading and reading, sample script source asktom
    Also check this thread in Asktom
    SQL> create table demo
      2  ( id        INT PRIMARY KEY,
      3    theBlob   blob,
      4    dummy_col VARCHAR2(1)
      5  )
      6  /
    Table created.
    SQL> -- --------------------------------------------------------------
    SQL> -- Load a PDF file into a BLOB field and compress the BLOB.
    SQL> -- --------------------------------------------------------------
    SQL> declare
      2      l_blob    blob;
      3      l_bfile   bfile;
      4 
      5  begin
      6      insert into demo (id, theBLOB) values ( 1, empty_blob() )
      7      returning theBlob into l_blob;
      8 
      9      l_bfile := bfilename( 'BLOB_DIR', 'Test.PDF' );
    10      dbms_lob.fileopen( l_bfile );
    11 
    12      dbms_lob.loadfromfile( l_blob,
    13                             l_bfile,
    14                             dbms_lob.getlength( l_bfile ) );
    15 
    16      UPDATE demo
    17      SET    theBlob = utl_compress.lz_compress(l_blob, 6)
    18      WHERE  id = 1;
    19  -- If you don't want compress the LOB just update directly
    20      dbms_lob.fileclose( l_bfile );
    21      COMMIT;
    22  end;
    23  /
    PL/SQL procedure successfully completed

  • Displaying PDF and Word Document

    Hi,
    I have used the methods to display HTML :
    1. Link to Action and the IFrame -> The Result was the html file I was able to display in the same window.
    2. Link to URL -> The Result was html file opened in different window.
    3.IFrame and attaching the file in project -> it was resulted in html file getting dispalyed in IFrame.
    Now if I want to extend the functionality for PDF or word document, is the procedure same or different
    Can anyone enlighten me on this
    Any thoughts on this.
    Thanks in Advance
    Srikant

    Hi srikant,
    You can also display word documents and pdf by uploading it in the server.
    For this you'll have to create  aliases in the server for the corressponding documents that you want to uploaad.
    Go to visual admin ->services->httpprovider.
    Then click the tab 'aliases'. Here you can give the name of your alias and also the document to which the alias should point(first upload the document to the server machine and then give the path here ) .
    Now when you type http://server:port/aliasname your document will open in the browser. You can display it either through your iFrame or linktourl as you prefer.
    Hope my effort will help you.
    Regards,
    Rahul.

  • Hot to display PDF and Word documents as an attachment in OBIEE Reports

    Hi,
    From few of Oracle threads I learnt that we can store the files in a server locaiton and read it thro a URL. What I am trying to do is, PDF or Word document will be stored in database as BLOB fields. This BLOB field needs to be come as an attachment in OBIEE Reports and by clicking that icon, it uses the local applicaiton PDF reader or a word applicaiton and open the attachment, just like how we open an attachment from a E-mail. Can you please help me with the possible methods of that. I can provide you more information incase if you need.
    Thanks
    Augesthi

    As long as you used the paper-clip Attach icon, that should be fine.
    The entire document appears to you because your Mac recognizes the document type, and displays it for you, saving you from having to mouse around and find a Reader for it. You can still use the Save icon to save a copy of only the attachment.
    To avoid problems with other email readers, be sure the checkbox [√] send windows-friendly attachments is checked.
    I addition, some email readers cannot cope with any attachments positioned at any place in the document other than at the very end. So make sure you move the cursor to the absolute end of the document before clicking "Attach".
    If all else fails, send an email that says, "attachment to follow", then send the attachment right away in a separate email, with nothing else in the body of the message. Some use the Subject abbreviation (nt) to indicate "no text", that is, no words typed in the message portion.

  • Can I search for pdf and word documents at the same time in finder?

    I often want to search for more than one file type at a time - for instance pdfs and word docs in a directory, or Jpgs, GIFs, PNGs etc.
    Can I do this in the finder in one go (so I can save it as a folder I can then select when I want to)?
    I tried typing OR between the 'tokens' it creates, but then it just searches for OR - so not as intelligent as one would think?!
    Surely there must be a way to do something as simple as this?
    regards
    Rob

    Forget the whole "tokens" business (I think that is a pretty useless "improvement" to constructing Spotlight searches). Hit command-F to bring up the search window, and set your first criteria, in the example I changed it from the default Kind to Created Date, to keep the number of results manageable. Now hold down the Option key and click on the "+" at the end of the criteria line, it will change to "..." and you get a new criteria line. From the dropdown menu choose "Any" if necessary (this will give you the Boolean OR), then enter what you want in the first sub-head. To get a second sub-head OR criteria click the "+" at the end of the Any line.
    I don't generate many MS Word docs, so I just stopped in the example above after typing Microsoft, since that brought up all the MS anything I have from this year (a couple of Power Point thingies sent to me by friends).
    Francine

  • How can I transfer pdf and word document files from my computer to iphone 4?

    Hi,
    I have recently purchased an iphone 4,I need to know how to transfer my files from laptop to iphone, i have downloaded iTunes but can not add my iphone, basically I dont know if there is anything else i should do to be able to connect my laptop to iphone so that i can easily transfer files.
    Also,does any body know what application i can open my word documents with?
    and how easy it is to search through the file for a specific topic if its for example 1000 pages? how about in pdf files? how can i find a topic i need as fast as possible, say in an open book exam condition?!!
    thanks

    Try using the App PDF Reader Lite, I downloaded from the iTunes App store, it is free and works. Not only for PDF but Doc, page, etc.
    I Am using it and it is working oK

  • PDF and Word Documents

    I have a requirement to retrieve either a PDF or a Word document from the database, and eventually display it in my JavaFX 2.2 application.
    I had been looking out for ideas and falling short. Any hints on how this could be implemented would be highly appreciated.
    Thanks.

    Thanks for the response jsmith. Please see my comments inline.
    jsmith wrote:
    Use the associated application installed on the client to display the file:
    http://docs.oracle.com/javase/7/docs/api/java/awt/Desktop.html#open%28java.io.File%29
    As per the requirement I should display the list of documents on the left panel. When the user selects a document from the list I should display the word or pdf document inline on the center panel of a border pane. However with no other alternative I have to convince the users to go with the above solution to open with the client installed application.
    >
    If this does not fit your needs, then explain why and provide more context, i.e. how many files, readonly or also editable, must the file be displayed as a JavaFX node, what will the user do with the file, are bitmapped images of the files sufficient, is the database on a server or also running on the JavaFX client . . .These files are to be strictly read-only. An external JSF 2.0 web based application uploads the files(PDF of Word) into the database. My javaFX application user should be able to read the content before accepting or rejecting the document. A bit-map image should be fine too as long as it is readable. Database is on a different server and my FX application communicates it through remote interfaces using EJB 3.1 deployed on glassfish.
    Thanks again.

  • New to Dreamweaver and need help with PDF and Word

    I'm trying to put forms on my web page http://www.troop4084.org and I cannot get them to show up on the internet. I have them in the folder. If there is a step-by-step process to do this?

    johnnyc54 wrote:
    I think so, that may be the issue. I'm still looking at that one to figure it out.  My pictures work fine
    and I followed the same procedure for the Word/PDF documents...
    Your images are in the 'images' folder:
    http://www.troop4084.org/Images/Anacortes%20Sign.jpg
    The pdfs are neither in the images folder or where the links says they are in the site folder itself.
    See the link below - It says the FOS.pdf is in the site folder itself. Not in any other folders.
    http://www.troop4084.org/FOS.pdf
    If you upload the FOS.pdf to the site folder on your server the link will be correct.
    or you can put the FOS.pdf in the 'images' folder and change the link to as below:
    http://www.troop4084.org/images/FOS.pdf
    or you may want to create a 'pdf' folder on your server and upload the 'pdfs' into that with the link below:
    http://www.troop4084.org/pdfs/FOS.pdf

  • Darg a drop PDF a Word documents

    Need help. How can i Drag a drop PDF and  Word documents from webmail Accounts into a app to make Some notices there and send it per Mail. Now i have installed paperdesk.  iOS 501 ipadII.

    I'm not sure if this will work when reading mail ona  website, but in the mail client you can open the PDF, click on the box with arrow coming out of it icon in upper right, and select any PDF readers and editors you have on the iPad to open it.

  • Transfer pdf or word documents to ipad from macbook

    how can i transfer pdf and words documents of my iMac  to an ipad 2

    Many options, depending on what you want to do with them.
    mail them to yourself
    use iTunes
    use the desktop transfer programs that go along with Office Suite apps (i.e. Documents to Go, Quickoffice, etc)
    use Goodreader (a PDF/document reader as well as a file transfer and management app)
    use a cloud storage app (such as Dropbox or Sugarsync).
    If you want to edit the documents, you'll need an app that can do so. If you just want to read them, you have more options.

  • Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but worked only in Mail.  Lost formatting when just copied and pasted in email.

    Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but PDF worked only in Mail.  Word worked in nothing.  I also tried copying and pasting the document but lost all formatting when just copied and pasted in email.  Is there a way to do this?

    Are you sure PDF won't work? It should as what you're trying to do is pretty much what it is designed for (PDF - Portable Document Format). On a Mac anywone who receives the file should be able to see it in all its page layout glory by using the app Preview or Adobe Reader. Same on a PC, the file should be viewable as a PDF file using Adobe Reader and probably some other viewer (don't use PCs so not sure what other apps).
    What application are you creating the file in and are you sure you're exporting it correctly in PDF format, fonts and images embedded?

  • Hi how to protect form modification a shared scientific document in pdf and word format?

    hi how to protect from modification a shared scientific document in pdf and word format?

    For the PDF document: Use the tool panel on the right side and under the protection section choose the Restrict Editing option.  Set a password so that nobody can modify it.  In word

  • Why am I unable to convert my PDFs into Word Documents anymore?  I've had no problem until now and been signed up forever.  Please inform what the problem is???  TU!

    Please inform me why I am unable to convert my PDFs to Word Documents anymore.  I've been signed up and paid forever now and no problems until today,  Please inform me of what the problem is?  Thanks bunches!  :- @(

    Hi vtbabyof8,
    I just took a look at your account and see that it expired on June 14. I'll send you a private message with more information.
    Best,
    Sara

  • Photosmart C6180 prints too many copies of PDFs and HTML-documents

    Hi,
    My Photosmart C6180 prints multiple copies of documents even if I haven't asked for it. This seems to only apply to PDFs and HTML-documents, I haven't seen it happen with Word/Excel. It's not consistent, it happens most of the time but now always for these documents. When I look at the console, when it has started printing I see shortly the status "Printing - Restarting". That's probably when it starts the 2nd copy. Sometimes it stops by itself, other times it seems to be looping and I have to turn the printer off and delete the document from the queue.
    HP solution center SW is updated, I run Vista with latest service packs on a Thinkpad T400s.
    Any ideas?
    Thanks!

    My C6180 printed multiple copies of any document from my Vista OS laptop ( wireless connection ), but not from my
    XP OS desktop ( USB connection), even though I selected 1 copy on the print menu. Unchecking "Enable bidirectional support" in the Properties / Ports dialog box solved the problem. Hope this helps someone too.

  • Saving as PDF, from Word documents - not good quality?

    Why is it that when i create letterheads, adn i save as pdf this word document, it comes out such poor quality?
    Is there a setting to save with high quality output from acrobat, word to pdf or also how about print pdf?
    Is anyone able to help us out?
    Thankyou,
    Gana85

    You are on the Illustrator forum how does this relte to illustrator?
    Are you ceating artwork in Illustrator and then inserting it into Word?
    This is what I suggest Visit the Acrobat Forum or a Microsoft Word forum if there is one and ask there.
    Or you can purchase ID or Illustrator and use them to create your letterhead.

Maybe you are looking for

  • Wty issue - Can't Posted due to error Action T043 Post version IV to FI

    Hi  Experts, I have one problem which is some of the wrty claims can't posted due to error message log not found (in memory ) and also Action T043 POst version IV to FI not carried out as there was an error in a previous version. For info, the earlie

  • 4s iphone keeps shutting off??

    the iphone 4s keeps going to a black screen/than comes back to a normal state...?? is this a battery issue or any other suggestions.. thank you

  • Safari crashing after resetting browser

    Hello fellow users, I have a problem with Safari crashing after resetting the browser ( history, cookies, etc) . The spinning beachball would show up and the application would stop responding.  The force quit window under Finder shows Safari listed i

  • TDC field  in Billing document

    I want a field from Billing document  which Must have 100 % functionality similar to  the Field in  sales order  Header (Tab -Billing document)- Tax departure country LANDTX (TDC). I need to include that a field from billing document in a routine whi

  • Viewing Photoshop CS6 on a retina display help!

    How do you view Photoshop CS6 13.0.4 in low resolution on a macbook pro retina display? I have tried opening CS6 in applications> get info> under general there is no option to open in low resolution as there is in Lightroom.