Hi,
You can use AUTOEDIT variables in your filename like that example:
%%YEAR%%MONTH%%DAY.filename.txt
You could find AUTOEDIT Variables in Control-M User Guide
AdvancedFileTransfer - Create Timestamp on Filenames
I'm trying to copy files (using FTP) to a folder created with time stamps.
I put the dots between the variables: C:\SO\.%%$YEAR.%%MONTH\tmp\
The folder is created by DOS bat file, in format: YYYYMM
But job failed.
Here is the sysout:
Dst file: 'C:\SO\.2008CTMERRMONTH\tmp\file_1.txt' on host 'cmem6301sql'
File 'C:\SO\.2008CTMERRMONTH\tmp\file_1.txt' open for overwrite failed
Error[2]: The system cannot find the path specified.
How to solve that?
Tnx!
I put the dots between the variables: C:\SO\.%%$YEAR.%%MONTH\tmp\
The folder is created by DOS bat file, in format: YYYYMM
But job failed.
Here is the sysout:
Dst file: 'C:\SO\.2008CTMERRMONTH\tmp\file_1.txt' on host 'cmem6301sql'
File 'C:\SO\.2008CTMERRMONTH\tmp\file_1.txt' open for overwrite failed
Error[2]: The system cannot find the path specified.
How to solve that?
Tnx!
AdvancedFileTransfer - Create Timestamp on Filenames
OK, another question
Every day the file is created, name as, for example, for today: "file-September 16, 2008.pdf"
Tomorrow, file name will be "file-September 17, 2008.pdf"
and so on...
(beware of space between "September" and "number 16, 17, and space between day and year)!
How to create AFT and filewatcher job which will use the exactly filename format described above?
Thanks in advance!
Every day the file is created, name as, for example, for today: "file-September 16, 2008.pdf"
Tomorrow, file name will be "file-September 17, 2008.pdf"
and so on...
(beware of space between "September" and "number 16, 17, and space between day and year)!
How to create AFT and filewatcher job which will use the exactly filename format described above?
Thanks in advance!