on 07-29-2016 9:40 AM
Hello.
Anybody knows how to add current date to file name uploaded by FTP.
Accordfing to documentations I tried: File_name[yyyy]-[mm]-[dd].txt but it seems to not work.
Anyone can help?
Regards,
Pawel
Hi,
Explain your requirement in detail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
I want to upload to FTP file named: File_name[yyyy]-[mm]-[dd].txt
where yyyy - is current year
mm - current month
dd - current day
Help says:
File Pattern
Provide the file pattern and the target directory on the FTP server for the file you want to store or delete on the FTP server. For the target directory you can provide an absolute or relative path. When providing the path, comply with the rules of the FTP server operating system.
If you want to create a file, you can add the following to the file pattern:
● Use the ? character to add a counter to the file name. For example when using myfile??.txt the integration framework checks the file pattern in the FTP target directory and providesmyfile02.txt on the FTP server, if myfile01.txt already exists.
● [ts] adds the timestamp to the file name.
● [yyyy] adds the current year in four digits to the file name
● [yy] adds the current year in two digits to the file name
● [mm] adds the current month to the file name
● [dd] adds the current day to the file name
● [hour] adds the current hour to the file name
● [min] adds the current minute to the file name
● [sec] adds the current second to the file name
so I tried to input: #File_name[yyyy]-[mm]-[dd].txt as file pattern
But it doesn't work.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.