WinSCP SFTP PUT fails intermittently, creates directory instead of copy file

Advertisement

Bill at Synertech
Joined:
Posts:
1
Location:
California

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:
put STR*_esl_prices.json -nopreservetime -nopermissions -resumesupport=off -delete -filemask=|*/
Complete output including source and target directory listings is below.
The first digression from typical output is at line:
. 2022-01-02 20:03:55.716 Discarding reserved response
A few lines later we see:
. 2022-01-02 20:03:55.778 Creating directory "/customer/STR3642_esl_prices.json/".
-- Thanks, Bill --

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
36,712
Location:
Prague, Czechia

Re: WinSCP SFTP PUT fails intermittently, creates directory instead of copy file

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum