Topic "problem with a winscp script ls * > myfic"

Author Message
JMG

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
You cannot use redirection in WinSCP script, the ls > /tmp/logcf cannot work.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License