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

Author Message
almaskati
[View user's profile]

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

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
OPEN "BBK_DS"
get *[0-9].txt>12H C:\Data\
bye

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

Please HELP ! Rolling Eyes
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Make sure you are using the same (the latest) version of WinSCP on both machines.
Also read http://winscp.net/eng/docs/faq_synchronize
It should NOT be related to regional date/time formats.
_________________
Martin Prikryl
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