Access to files over port 80

Dec 13 2006 1:17 PM

Access to files over port 80

I need to access a file that is on our web server from a web service.

The webservice checks if the file exists then it does it opens the file

I am using file.exists(\\server\share\filename.pdf)
I would like to use file.exists(http:\\www.website\pdf\filename.pdf)

while using the \\server\share\filename.pdf method. I checked the firewall logs and it is leaving from the webservice port 1641 to port 139 on the web server.

I can access the file using the www address from the browser.

The reason I want to do this is because I want to be able to use port 80 instead of 139 going across the firewall.

Is it possible to check if a file exists through a web server through port 80 of the web server
can I open the file using the www to access the file I am using PDFDoc doc = new PDFDoc(adPDFFileName) where adPDFFileName = \\server\share\filename.pdf i want to use http:\\www.website\pdf\filename.pdf