I am troubleshooting an automated WinSCP SFTP PUT script which fails intermittently. Failure output shows creating a directory [with an expected file name] at a point when a successful run would copy the file. The job always PUTs the same four files. Looking for a lead on cause and mitigation of the unexpected create directory behavior.
put STR*_esl_prices.json -nopreservetime -nopermissions -resumesupport=off -delete -filemask=|*/
The first digression from typical output is at line:
. 2022-01-02 20:03:55.716 Discarding reserved response
. 2022-01-02 20:03:55.778 Creating directory "/customer/STR3642_esl_prices.json/".