Posted: 2015-01-28 20:22
Want to put folder of files with variable names with winscp. Have a script for a single file but would like to do a forfiles or loop to send files.
I have the below which isn't working.
FORFILES /m *.csv /c "C:\"Program Files (x86)"\WinSCP\WinSCP.com /command "option confirm off" "option batch abort" "open "Transfer"" "put ""c:\Files\@file""" "exit""
Location: Prague, Czechia
You have quotes all wrong.
But actually I was not able to make
Another issue that the
Even such a trivial command like this does not work:
One have to run the command via
So my final solution was:
Why are you using
You can post new topics in this forum
And it's free!