Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I need a batch file that I can schedule on the Windows 2003 server that logs into the FTP user of the OpenVMS box and ftp's files daily from 2 different directories. But the files need to be for the current day only no older files should be transferred. Please let me know a way I can accomplish this? Your feedback is much appreciated.
Brian

Assuming that the transfer happens at a predictable time, you can schedule a daily batch job on the VMS node, which can either:
1) Purge the directories or specific files in question so that there are no old files to transfer, or
2) Create a FTP script that GETs the specific files for that day - the Windows batch job, when it runs, would first GET the FTP script, then execute it.
Actually, these suggestions don't even have to run as batch jobs; they could run as part of the FTP login command file.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |