I know this is a common error, and i've searched different forums and tried different options proposed. I've tried :"turn off Set permissions and Preserve timestamp options or turn on Ignore permission errors.".
I create a file full of PUT commands, and then run the WINSCP command on the file in simple terms. But quite often the WINSCP quits before completing the file with the error.
I have the error : was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option.