Topic "Scripting Problem...Please HELP !!!!"

Author Message
[View user's profile]

Joined: 2014-07-17
Posts: 1
Location: Bahrain

I used to have a script that downloads some files based on a mask/filter and timestamp filter. It takes only files created in the last 12 hours. It is working fine on a WinXP machine. However, when I moved the same to a Windows 7 PC; the script is returning (getting) ALL the files in the directory..not just the new ones...Here is the script:

option confirm off
get *[0-9].txt>12H C:\Data\

Anyone can tell why script is working RIGHT on XP..and on 7 it is getting ALL the it is ignoring the mask...Could be related to any 'Regional Data/Time' formats of Windows?

Please HELP ! Rolling Eyes
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Make sure you are using the same (the latest) version of WinSCP on both machines.
Also read
It should NOT be related to regional date/time formats.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License