Re: dir/ls only works with specific file if using a wildcard
Okay, thank you. The script the devs wrote probably never worked correctly :) I'll pass on your response. Thanks for taking the time!
It behaves as designed.
https://winscp.net/eng/docs/scriptcommand_ls#remarks
To check for an existence of a file, usestat
:
https://winscp.net/eng/docs/scriptcommand_stat
See also
https://winscp.net/eng/docs/script_checking_file_existence