I'm using version 5.17.6 (Build 10516). I also had this problem with previous versions. I am running this on Windows 10 Enterprise version 1709, os build 16299.1868 using FTP.
I am trying to run a script with a Get to submit a job and automatically receive the job's output. Per https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.halu001/autosubmit.htm, this should be possible, and I've seen in other discussion groups that others have achieved this sans WinSCP. However when I try this with WinSCP, I get the dreaded messages, "Script: Can't get attributes of file 'FTP'" and "File or folder 'FTP' does not exist."
The problem seems to be with the command "call SITE FILETYPE=JES NOJESGETBYDSN." When I remove this command from the script, the Get works normally and downloads the file. When the command is in the script, errors occur even though the Get command did not change. I've attached the Windows bat file, script, and log.
Any help would be greatly appreciated. Thank you in advance.