WinSCP SFTP PUT fails intermittently, creates directory instead of copy file
Hello,
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.
Script:
Complete output including source and target directory listings is below.
The first digression from typical output is at line:
A few lines later we see:
-- Thanks, Bill --
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.
Script:
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/".