Re: WINSCP SFTP transfert issue with a Put command
You are missing some quotes and spaces:
See https://winscp.net/eng/docs/commandline#syntax
Call Shell( _
"""C:\Program Files (x86)\WinSCP\WinSCP.com"" /command " & _
"""open ftpes://... ..."" " & _
"""put C:\Users\sent_FTP\testfile.csv"" " & _
"""exit""")
End Sub
See https://winscp.net/eng/docs/commandline#syntax