And how big is your file?

> -----Original Message-----
> From: Andy Ewings [mailto:[EMAIL PROTECTED]]
> Sent: 27 January 2003 11:51
> To: CF-Talk
> Subject: RE: Reading a PDF
>
>
> we have a 256k leased line.  I think there may be problems saying that but
> CF is saying the page is taking about 100,000ms to execute
>
> -----Original Message-----
> From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
> Sent: 27 January 2003 11:46
> To: CF-Talk
> Subject: RE: Reading a PDF
>
>
> Well,
> If you think about it you are asking your server to submit the file to the
> adobe site. What't the connection like from your server to the net?
>
> As to the converter being always available. Ask them! We put a proviso in
> our contract that stated specifically that this was an external
> service and
> was not under our control.
>
> Adam
>
> > -----Original Message-----
> > From: Andy Ewings [mailto:[EMAIL PROTECTED]]
> > Sent: 27 January 2003 11:37
> > To: CF-Talk
> > Subject: RE: Reading a PDF
> >
> >
> > yup just seen that on the adobe site, tried and worked - thanks
> a lot.  Do
> > you think that this url is reliable long term? - i.e. will that
> converter
> > always be available.  Seems to take a while to execute too.
> >
> > -----Original Message-----
> > From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
> > Sent: 27 January 2003 11:20
> > To: CF-Talk
> > Subject: RE: Reading a PDF
> >
> >
> > Here's the code from one of my fusebox applications.
> >
> >
> > <!---@ Upload File --->
> > <cfif len(attributes.FILE_NAME)>
> >
> >     <!---@ Pages with secure items must use the offline storage area.
> > --->
> >             <cffile action="UPLOAD"
> >                     filefield="FILE_NAME"
> >
> > destination="#getdirectoryfrompath(getcurrenttemplatepath())#/documents"
> >                     nameconflict="MAKEUNIQUE">
> >
> >     <cfset attributes.FILE_NAME = cffile.ServerFile>
> >     <cfset attributes.FILE_SIZE = cffile.FileSize >
> >     <!--- Determine filetype. --->
> >     <cfset attributes.SUFFIX = listlast(attributes.FILE_NAME,".")>
> >     <cfinclude template="queries/qry_file_type_select.cfm">
> >     <cfif qry_file_type_select.recordcount EQ 0>
> >             <cfset attributes.FILE_TYPE = "application/unkown">
> >     <cfelse>
> >             <cfset attributes.FILE_TYPE =
> > qry_file_type_select.FILE_TYPE>
> >     </cfif>
> >
> >     <!--- PDF files are converted to HTML --->
> >     <cfif listlast(attributes.FILE_NAME,".") eq "pdf">
> >             <cfhttp url="http://access.adobe.com/perl/convertPDF.pl";
> > method="post"
> > resolveurl="no" >
> >                     <cfhttpparam type="formfield" name="url"
> > value="#request.site.webRoot#/contentmanagement/documents/#attribu
> > tes.file_n
> > ame#">
> >             </cfhttp>
> >             <!--- Now write the content away. --->
> >             <cfset attributes.pdfhtmlfile = "#createuuid()#.html">
> >             <cffile action="append"
> > file="#getdirectoryfrompath(getcurrenttemplatepath())#/documents/p
> > dfhtmlfile
> > s/#attributes.pdfhtmlfile#" output="#cfhttp.FileContent#">
> >
> >     </cfif>
> >
> > </cfif>
> >
> >
> > Hope this helps. You don't need to do the last write away. You
> > can just use
> > the contents of the check for the words you are looking for.
> >
> > > -----Original Message-----
> > > From: Andy Ewings [mailto:[EMAIL PROTECTED]]
> > > Sent: 27 January 2003 10:49
> > > To: CF-Talk
> > > Subject: RE: Reading a PDF
> > >
> > >
> > > I want to automatically read the contents and look for words and
> > > report back
> > > to CF if they are found. Don't want to use verity) as this is on
> > > a document
> > > by document basis.  what happens if I use ReadBinary in the
> > > action attribute
> > > of the tag.  Is the solution you suggest an automatic one?
> > >
> > > -----Original Message-----
> > > From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
> > > Sent: 27 January 2003 10:27
> > > To: CF-Talk
> > > Subject: RE: Reading a PDF
> > >
> > >
> > > What do you want to do with it?
> > >
> > > Suggestion:
> > > Load up your document to a web accessible directory, point
> Adobes PDF to
> > > HTML conversion system at the document, save away the content. Bingo!
> > >
> > > Adam
> > >
> > > > -----Original Message-----
> > > > From: Andy Ewings [mailto:[EMAIL PROTECTED]]
> > > > Sent: 27 January 2003 10:14
> > > > To: CF-Talk
> > > > Subject: Reading a PDF
> > > >
> > > >
> > > > Any of you know how to automatically read the contents of a PDF
> > > using CF?
> > > >
> > > >
> > >
> > >
> >
> >
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to