FileSystemObject

  • Thread starter Thread starter Singularity.co.uk
  • Start date Start date
S

Singularity.co.uk

Hi

Does anyone know if the FileSystemObject supports testing if a file exists
when you use the following path:

\\ServerName\FolderName\ImageName.jpg

Or does it have to be that the server is mapped to the current server so
that the path would be:

\\F:\FolderName\ImageName.jpg

This problem relates to my site having to display some images which are
located on a second server from that of the one the site is being hosted on
and so far the only way I can get this to work is by the second option. This
would be great, except the path comes from a database field which contains
the first option.

Thanks

Brendan
 
Hi,
Why FileSystemObject?
Why don't you use one of File.Exists or FileInfo.Exists methods?
 
Back
Top