I need to recursively find *.log
files at C:\
and send them to my server using WinSCP. I've experimented with put
but it can only send files from a given directory. After that I've tried using cmd's dir
to get the list of required files and then send them using WinSCP, but I can't both open connection AND send files: cmd
prompt changes to winscp>
after I open connection from cmd
.
I'd appreciate any help.