Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: problem with a winscp script ls * > myfic

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

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