FileInfo with IP Address

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm attempting to determine if a file exists on an Web Server by using
FileInfo and specifying an IP address. It works fine if I access another
system on my internal network (i.e., fileinfo(10.0.0.50/share/file.text)),
but it fails across the web.

The files I'm attempting to access are on a Virtual Directory that I have
rights to.

Is there possibly a TCP/IP part blocked by the firewall, some IIS setting
that's not right, or am I just all wet in thinking that I should be able to
do this?
 
Steven said:
I'm attempting to determine if a file exists on an Web Server by using
FileInfo and specifying an IP address. It works fine if I access another
system on my internal network (i.e., fileinfo(10.0.0.50/share/file.text)),
but it fails across the web.

The files I'm attempting to access are on a Virtual Directory that I have
rights to.

Is there possibly a TCP/IP part blocked by the firewall, some IIS setting
that's not right, or am I just all wet in thinking that I should be able
to do this?
Definetelly it should fail across the Web. However, you may issue an HTTP
request with an URL equal to the above URL, and the result will tell you if
you can access it. It will get you the contents if you do a GET.
 
Back
Top