Forum Discussion

skodali's avatar
skodali
New Contributor III
7 years ago
Solved

Append Today's Date to the CSV file

Hi, I’m trying to write a CSV file with Date.now() at the end of file name. But I’m not able to see the file in destination folder If I have date.now in the expression[“sftp://zing.grouponinc.net/W...
  • siwadon's avatar
    siwadon
    4 years ago

    Understood but I don’t think it’s the problem with the static or dynamic reference if you can write other files to the FTP server without any problems. The only thing I could think of is that the filename contains illegal characters.

    Can you please try the expression below first?

    Date.now().toLocaleDateTimeString({"format":"yyyyMMddHHmmss"})