1 Replies - 675 Views - Last Post: 08 February 2012 - 11:12 AM Rate Topic: -----

Topic Sponsor:

#1 ank.net  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 02-February 12

converting pdf into xml

Posted 02 February 2012 - 09:00 PM

hii!!

i am developing a website where users can upload a pdf doc. and rhe user's can either view online with pdf viewer or download it.

the problem is the.pdf file would be stored in the file server (that can be useds as a link for downloading) but for viewing the doc approaching a file server would result in slow processing of website espically when there is heavy traffic.

my idea is to convert .pdf files into xml and store them into a different database. and use that database for viewing the file..... whereas the actual .pdf would be stroed in fileserver.

can this be done....

if you have any other solution's please do tell me....

Thank's............ :)

Is This A Good Question/Topic? 0
  • +

Replies To: converting pdf into xml

#2 ajwsurfer  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 373
  • Joined: 24-October 06

Re: converting pdf into xml

Posted 08 February 2012 - 11:12 AM

I have done this before. What is needed is an "Upload" page (or bay). The upload page should:
1. Be a page that allows the user to upload files, either with the asp control or html contol
(http://msdn.microsoft.com/en-us/library/aa479405.aspx).
2. In the upload Form, force the user to enter metadata that is used to catalog, identify and run searches for the document.
3. When the document is stored, rename it so that the database can identify it and place it into
a directory that the Web Server has read and write access to. (This directory will NOT be part of the directory that holds the aspx, vb, etc... files.)
4. The database table should store all the information about the pdf including the file name people identify it as, and the file name the database identifies it as.
5. Retrieving the file will be just a mater of looking it up in the database table, and pushing it out through the Response string.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1