I want to delete a file using fso object.
the file was uploaded with SAfileUp object.
I'm writing this command:
Set fso = CreateObject("Scripting.FileSystemObject")
delfile = Request("fileRef")
delfile contains the whole path to the file
from some reason I get an error :"invalid procedure call or argument"
on this line : fso.DeleteFile(delfile)
I've tried to write like this : fso.DeleteFile("&delfile&")
but the error was "File not found"
what am I doing wrong??