Post a reply

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)


Topic review


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*.

WinSCP wildcard GET not findings files


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.

get /get/*.* G:\TEST\FILE\DL_encrypted\PROD\

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