Hi, I'm new here and to VBScript. I need to open a CSV file and store these data in the database. I already fail on opening the CSV, because FileExists returns FALSE and I have no idea how to find out the exact file position. Here's the script I wrote so far:
The "test.csv" is in the same folder then the ASP script above. The message output is always "D:\Webs\cli142\affiliate_test\admin\xyz\test.csv does not exist". In the FTP program, I see this server path: "/webroot/affiliate_test/admin/xyz". Is "webroot" a virtual directory? I just want to open a file by a script that is in the same directory :(
Hm it took me a while to find out that "On Error Resume Next" must be removed to see the error messages. This forum is kind of strange, no answer for that beginner problem, but no.1 on "vbscript forum" in Google.