Click to See Complete Forum and Search --> : File validation in network


Gopinath
07-10-2003, 09:10 AM
Using FileExist, i can validate the file is in my system or not.
But i want to validate the file name where it is in my network.
if i am using the code, it returns false

my code
dim fso
dim filepath
set fso=server.CreateObject("Scripting.FileSystemObject")
filepath="\\User04\photo\photo1.jpg"
user04 is my neighbour
if fso.FileExists(filepath) then
----
else
control comes here
end if

what i've to do validate the file?
thanq
-gopi

Gopinath
07-11-2003, 06:18 AM
i know objFSO is a File system object.
but i want to know, how u declare it in Javascript

thanq

-gopi

Gopinath
07-14-2003, 10:54 PM
Thank u Daves