WinSCP wildcard GET not findings files

Advertisement

spacehere@hotmail.com
Joined:
Posts:
1
Location:
SYDNEY

WinSCP wildcard GET not findings files

Hi,

I am using WinSCP to download files using a script.
I only want to download files that start with AU*.csv. However when I attempt to do so in my script I get the following error
. 2021-08-26 20:20:11.257 AU-PP2_402_AU-AD_Transfer_20210826070500.csv.pgp;-;2897;2021-08-26T07:25:05.000Z;3;"200" [0];"100" [0];rw-------;0
. 2021-08-26 20:20:11.257 ..;D;0;1899-12-30T11:00:00.000Z;0;"" [0];"" [0];---------;0
< 2021-08-26 20:20:11.257 Script: No file matching 'AU*.csv' found.
Previously I had *.* in my script and it used to work fine but was downloading all the files.
I can see files are there to be downloaded but my script is giving the above error. Appreciate any guidance what I am doing incorrectly in my GET command.

Previously:
get /get/*.* G:\TEST\FILE\DL_encrypted\PROD\
Currently:
get /get/AU*.csv G:\TEST\FILE\DL_encrypted\PROD\

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,040
Location:
Prague, Czechia

Re: WinSCP wildcard GET not findings files

The file in your log (AU-PP2_402_AU-AD_Transfer_20210826070500.csv.pgp) indeed does not match AU*.csv mask. It would match AU*.csv.pgp or AU*.csv*.

Reply with quote

Advertisement

You can post new topics in this forum