HighTechTalks DotNet Forums  

FileSystemObject

Dotnet General Discussions microsoft.public.dotnet.general


Discuss FileSystemObject in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Singularity.co.uk
 
Posts: n/a

Default FileSystemObject - 08-10-2005 , 05:23 AM






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



Reply With Quote
  #2  
Old   
Leon Langleyben
 
Posts: n/a

Default RE: FileSystemObject - 08-10-2005 , 09:49 AM






Hi,
Why FileSystemObject?
Why don't you use one of File.Exists or FileInfo.Exists methods?
--
Leon Langleyben
MCSD
http://dotnetjunkies.com/WebLog/leon/


"Singularity.co.uk" wrote:

Quote:
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




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.