jjj
02-29-2008, 03:47 PM
Hi,
I am calling FileExists function on object of FileSystemObject.
But I get always a false value even if the file exists.
the file resides on my local machine. following is the snippet of my script..
........
inputfile = "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\iMusic\Files\Encoded\a-Windows_XP_Notify.wmv"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
DoesFileExist = objFSO.FileExists(inputfile)
Response.write(DoesFileExist)
...............
please help me out.. i m kind of new here!!
I am calling FileExists function on object of FileSystemObject.
But I get always a false value even if the file exists.
the file resides on my local machine. following is the snippet of my script..
........
inputfile = "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\iMusic\Files\Encoded\a-Windows_XP_Notify.wmv"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
DoesFileExist = objFSO.FileExists(inputfile)
Response.write(DoesFileExist)
...............
please help me out.. i m kind of new here!!