Topic "WinSCP and Generation Data Group files (GDGs)"

Author Message
devilj
[View user's profile]

Joined: 2013-04-18
Posts: 2
Location: Phoenix
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:

Code:
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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
File masks are evaluated locally. So WinSCP does not (and cannot) understand remote system semantics.
http://winscp.net/eng/docs/file_mask
_________________
Martin Prikryl
devilj
[View user's profile]

Joined: 2013-04-18
Posts: 2
Location: Phoenix
Thanks, Martin
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