Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a directory where n number of File is present. Now I want to to archive all of them in a Single Archive Zip File in format like this Sysdate_SomethingName.zip. I am trying with below in Archive FileName Path but getting compilation Error:
context.ROOT_SRCFILEDIR+"J3/DIGITAL/SPEND"+"/"+J3_DIGITAL_ACTUAL_SPEND_routines.TalendDate.getDate("yyyyMMddHHmmss").zip. Can anyone please help
FileName is
context.ROOT_SRCFILEDIR+"+"J3/DIGITAL/SPEND"+"/"+TalendDate.formatDate("yyyyMMdd_HHmmss",TalendDate.getCurrentDate())+"_J3_DIGITAL_SPEND.zip" @TRF
Sorry this One
context.ROOT_SRCFILEDIR+"J3/DIGITAL/SPEND"+"/"+TalendDate.formatDate("yyyyMMdd_HHmmss",TalendDate.getCurrentDate())+"_J3_DIGITAL_SPEND.zip" @TRF
Should work as soon as context.ROOT_SRCFILEDIR is known.