WatchFTP home page
WatchFTP Startseite (Deutsche Version)
WatchFTP Pßgina Principal (Espa˝ol)
Site WatchFTP (Franšais)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  News:
WatchFTP v4 released. see http://www.watchftp.com/v4.html
  HomeHelpSearchLoginRegister  
 
Pages: 1
Send Topic Print
downloading 2 files, one with dates and executing a .bat file (Read 113 times)
gpisacano
YaBB Newbies
*
Offline


Posts: 4

downloading 2 files, one with dates and executing a .bat file
Mar 05th, 2019, 2:22pm
 
I have a client where I need to downlaod two files.  They are lazy.  One files is ABC.csv and the other is xyz_20190305.csv.  They never delete the dated version of the second file.

I have tried different filters for the download

first - ABC.csv;XYZ_{dt-yyyy}{dt-mm}{dt-dd}.csv but this does not get the second file.

Second - ABC.csv;XYZ_*.csv but this gets all of the dated files.

After I download both I want to set of a batch file using watch directory.  This is currently set to go off at a certain time of day but I would rather this job goes off when both files are downloaded.

Anyhelp would be appreciated
Back to top
 
 
  IP Logged
Gert
YaBB Administrator
Translator
*****
Offline


Posts: 441
The Netherlands
Re: downloading 2 files, one with dates and executing a .bat file
Reply #1 - Mar 6th, 2019, 10:30am
 
> Second - ABC.csv;XYZ_*.csv but this gets all of the dated files.

I think this is the way you should go. It will obviously download all dated files, but ONLY ONCE. On the "Synchronization" settings window make sure
- Only download new files IS SET
- Force download if local file does not exist is NOT SET

Back to top
 
 


Contact me at support -at- gdpsoftware -dot- com
My blog: http://blog-en.gdpsoftware.com/
WWW   IP Logged
Pages: 1
Send Topic Print