Help with bat file create

Status
Not open for further replies.
I have a file that is in a dated sub-dir. This folder contains file I need to ftp from a server to a local pc as input to a software pkg. This sub-dir gets created every night so a new dated sub-dir is created. I can't do a wildcard ftp due to I only want certain dates. How do i create a date prompt to be used by the user to pull only the dir's they want? Here is my simple script.

open 999.9.9.9 xxxxx xxxxx
LCD M:\Mail Merge\Letters\Files
cd /disk4/Files
BINARY
GET Files.txt
QUIT

the /disk4/Files will now have a date ie. /disk4/Files/{date}/{files needed}

Thank you for your help,
Charlie
 
fairly trivial for a VBS programmer

create the batch file on the fly as part one of your job, then execute it in the second part. The actual basic programe to create a suitable batch file does not seem much of a problem, although your post is not clear enough to form a specification.
 
Status
Not open for further replies.
Back