The problem was not due to the code generated by WinSCP but to my modification in the command line. This is called after you have logged on to the SFTP server in the first line. My syntax was wrong in this line, I had no specifications from the generation of the WinSCP code.
- AGG_MS