Jaco Breytenbach <jaco <at> egis-software.com> writes: > > Hi. > > How dow determine if an input file is a valid pdf file(Acrobat will be able to > open it completely). > > Thanks > Jaco > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >
I saw the example where the someone suggests to check if the file starts with "%PDF-1." and ends with "%%EOF". The problem with this is that the file that I do try to open does start and end with these values, but when I try to open it with Adobe it says "An unrecognized token '>' was found". ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
