consecutive naming of files in FTP?

typhoon43

2[H]4U
Joined
Apr 5, 2001
Messages
3,930
We have a program that will drop a file from our VMS Mainframe to a Windows box each night, and will name the file. The catch is that on the VMS side, we don't see a way to give the file a different name each day. This FTP process will be scheduled, so whatever file name we choose first, is theretically what it will call the next day's file as well, thus overwriting the first. Are there any kind of scripts we could use to add a date stamp or something on an incoming directory? Any Batch or VB scripts out there to get this done?

Thx.
 
VMS, seriously? It's 2006, you know.

Where does the FTP server live? Do you have control over it? Which operating system is it running?

Why doesn't the process that gets the FTP file rename it? If there's only one file per day from one machine, then it should be easy: if you see Foo.TXT, rename it to Foo<date>.txt before processing it.
 
Back
Top