Opening PDF in revBrowser with Decimal Point in its name
Posted: Sun Nov 01, 2015 6:59 am
I have a field that lists PDFs on a remote web site. If the user clicks on a line in the list, the PDF is opened in the revBrowser.
The web pages have URLs with this pattern:
http://www.guamcourts.org/CompilerofLaw ... 7gc009.PDF
http://www.guamcourts.org/CompilerofLaw ... c009.5.PDF
http://www.guamcourts.org/CompilerofLaw ... c009.6.PDF
http://www.guamcourts.org/CompilerofLaw ... gc0010.PDF
My script puts the characters between "gc00" and ".PDF" into a variable "tChapterNumber"
I open the files with:
revBrowserSet gBrowserID, "url", "http://www.guamcourts.org/CompilerofLaw ... mber&".PDF"
My script opens all the files except the ones ending in "9.5" and "9.6". I get "404 - FIle or directory not found." I checked and the
variable does contain "9.5" and "9.6", respectively.
I have no control over the website. I've tried everything that I know without success, including omitting the variable and writing
revBrowserSet gBrowserID, "url", "http://www.guamcourts.org/CompilerofLaw ... c009.6.PDF"
Is this a bug? Is there something about the decimal point in the name that results in the failure to open it? Is there a workaround?
Thanks very much for considering my issue
Monty
The web pages have URLs with this pattern:
http://www.guamcourts.org/CompilerofLaw ... 7gc009.PDF
http://www.guamcourts.org/CompilerofLaw ... c009.5.PDF
http://www.guamcourts.org/CompilerofLaw ... c009.6.PDF
http://www.guamcourts.org/CompilerofLaw ... gc0010.PDF
My script puts the characters between "gc00" and ".PDF" into a variable "tChapterNumber"
I open the files with:
revBrowserSet gBrowserID, "url", "http://www.guamcourts.org/CompilerofLaw ... mber&".PDF"
My script opens all the files except the ones ending in "9.5" and "9.6". I get "404 - FIle or directory not found." I checked and the
variable does contain "9.5" and "9.6", respectively.
I have no control over the website. I've tried everything that I know without success, including omitting the variable and writing
revBrowserSet gBrowserID, "url", "http://www.guamcourts.org/CompilerofLaw ... c009.6.PDF"
Is this a bug? Is there something about the decimal point in the name that results in the failure to open it? Is there a workaround?
Thanks very much for considering my issue
Monty