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