I am trying to setup a Watch process that monitors an FTP folder and its sub folders. When a file is uploaded onto a specific folder, I would like to get the complete path name.

ie, /MyFtp/Users folder and all its sub folders are monitored.

When user uploads a file onto their respective folder ie, /MyFtp/Users/John/Johns_data.dat, I need to extract both the original file name and its corresponding sub folder so that I could send an email to John@mycompany.com with the attachment Johns_data.dat.

I tried using the Watch varible %o and also PW_GetOriginalFileName in my VBScript. However, I am only able to get the Filename and not the complete path.

Is there a way to get the complete filename including the path info ?