Wildcards don't work in WinSCP script

Advertisement

Bpepsi
Joined:
Posts:
3

Wildcards don't work in WinSCP script

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

Reply with quote

Advertisement

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

Re: Wildcards don't work in WinSCP script

WinSCP does not support wildcards with path. You need to do:
cd /home/oracle/incoming/
get *.dat d:\outgoing\
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum