Hi from Buxtehude, Germany
How do I delete a file in a folder by using a VBScript under using the Web Client?
How can I get the Variable %ORIGINALFILENAME% from the WEB Client and use it in the VB Script?
Dim objFSO, folderPath, fileName, filePath
folderPath = "C:\Input\Folder"
Set objFSO = CreateObject("Scripting.FileSystemObject")
fileName = Metadata.Values("ORIGINALFILENAME")
filePath = objFSO.BuildPath(folderPath, fileName)
objFSO.DeleteFile(filePath)
best regards
Dietmar