I create an sFTP task to upload a file. I am using a user variable to move the file I want uploaded around my local drive. I have the file path and name in separate variables. When my local file path variable ends with a backslash '\' VisualCron is unable to find the file.
My variable is set to:
Company.FilePath = F:\Batch\company\files\
The error I receive is:
"Unable to change folder to: /F:/Batch/company/files, err: File not found"
When I change my variable to,
Company.FilePath = F:\Batch\company\files
the upload process works.
Problem is the previous tasks expects a slash at the end and I don't want to have two different variables for the same value. Also in the File Filter\Test tab in the FTP Command window when I test to "Show filtered files" it works for both the path with the backslash at the end and the one without.
I am running VisualCron 7.0.8