A
akadelski
I need a way to verify a file exists before I attempt to open it.
Right now we are storing PDFs server-side and I need a way to either 1.
Check if the physical file exists or 2. check if the URL exists.
I'm opening the PDFs with the following: var
Win=open(theLinkURL,"",linkString);
I create theLinkURL dynamically and the file may or may not exist.
Any help would be GREATLY appreciated.
-Amy
Right now we are storing PDFs server-side and I need a way to either 1.
Check if the physical file exists or 2. check if the URL exists.
I'm opening the PDFs with the following: var
Win=open(theLinkURL,"",linkString);
I create theLinkURL dynamically and the file may or may not exist.
Any help would be GREATLY appreciated.
-Amy