|
-
Jan 30th, 2013, 10:27 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] I've got new problem can someone please shed some light on this for me
I'm downloading files from a web site.there pdf files..for some reason the web site is appending the html page source code to the end of pdf file.
So the pdf files will not open..i can open the pdf files in ultraedit and search the doc for "EOF.....<!DOCTYPE html PUBLIC" and cut everything after the EOF and add 0A to the end and the pdf file is fixed..
My problem is all of the pdf files at this web site are doing this..
how can i code something that will start at the end of the pdf file and scan backwards..find the offending code's address and save from the beginning of the file to that address location and add the 0A to the end of it.
or which ever way would be better beginning to end or end to beginning...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|