Topic "Wildcards don't work in WinSCP script"

Author Message
Bpepsi
[View user's profile]

Joined: 2007-03-08
Posts: 3
Hi,

I have the problem that the wildcard '*' does not work in my script. When I enter the concrete name of a file it works fine. But when I enter *.dat it returns with error. :/

Do you have any ideas?

Cheers,
Barbara

option batch on
option confirm off
option transfer automatic
get /home/oracle/incoming/*.dat d:\outgoing\
close
exit
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
WinSCP does not support wildcards with path. You need to do:
cd /home/oracle/incoming/
get *.dat d:\outgoing\
_________________
Martin Prikryl
Bpepsi
[View user's profile]

Joined: 2007-03-08
Posts: 3
Hi Martin,

Thank you for your help !!!!

Barbara
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