Running custom commands always leads to error code 2
So the gist of what I'm trying to do is playing a video with ssh and vlc, to put it simply I need to run:
all the parameters can be provided by WinSCP using the patterns, I also use the "Local command" and "Use remote files" so that it doesn't download and then run the command.
But after running it, I got error code 2 instead, even though the same exact command works on normal cmd terminal, which confuses me. This is the command I tried to run
the error message or the actual log for that matter only says the same thing which doesn't help at all. Here's what it says
ssh user@target -p PORT cat FILE | vlc -
But after running it, I got error code 2 instead, even though the same exact command works on normal cmd terminal, which confuses me. This is the command I tried to run
ssh !U@!@ -p !# cat !/! | vlc -
System Error. Code: 2.
The system cannot find the file specified