problem with a winscp script ls * > myfic

Advertisement

JMG
Guest

problem with a winscp script ls * > myfic

In a script winscp, I use

ls > /tmp/logcf It is ok
ls /tmp/*.tmp It is ok


But

ls /tmp/*.tmp > /tmp/logcf doesn't work.

Is it possible to use wildcard and redirection in a winscp script ?


Thank you for your answers

Jean-Michel

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Re: problem with a winscp script ls * > myfic

You cannot use redirection in WinSCP script, the ls > /tmp/logcf cannot work.

Reply with quote

Advertisement

You can post new topics in this forum