I build a short script in C++ to download by SFTP a file.
So I made this :
system("\"\"%PROGRAMFILES(x86)%\\WinSCP\\WinSCP.com\"\" login:password@IP/folder get file.txt C : \\Users\\MyUser\\Downloads\\file.txt");
It returns an error telling that there is a missing parameter in the get command.
Can someone tell me the right synthax please ?