Sometime this morning WinSCP stopped working properly.
It appears to be treating everything on the source side (left pane) as a directory. If I transfer a file(L->R) with an existing file on the R, I get an error code 4 (which I believe is indicating it's trying to copy a directory that already exists).
If I transfer a file(L->R) that does not already exist on the R, I get a code 267 (invalid directory name) and it creates a directory on the R with the same name as my file.
Transfers from R->L seem to work.Error retrieving file list for "Z:\m...\foo.pdf\*.*".
System Error. Code: 267.
The directory name is invalid