Post a reply

Options
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)

Options

Topic review

devilj

Thanks, Martin
martin

Re: WinSCP and Generation Data Group files (GDGs)

File masks are evaluated locally. So WinSCP does not (and cannot) understand remote system semantics.
https://winscp.net/eng/docs/file_mask
devilj

WinSCP and Generation Data Group files (GDGs)

Can WinSCP be used to download the newest file in a Generation Data Group? For instance, I have a set of generated files that look like TST.GGD100.IMAGE.G0001. Each subsequent file is the next in line (..G0002, G0003, n). Normally when you are using FTP on GDGs you would use "GET 'TST.GGD100.IMAGE.G(+1)'.." to download the next file in that set. This isn't working for me in WinSCP.

I am using the code line:

transferResult = session.GetFiles(@"'TST.GGD100.IMAGE.G(+1)'", @"c:\Temp\Image.txt", false, transferOptions);


Does anyone have any ideas on how or even if, WinSCP can do this?