Skip to main content
Known Participant
September 5, 2023
Question

Create Zip FIle

  • September 5, 2023
  • 5 replies
  • 10 views

Hi All,

          I am trying to create a zip file using create zip file smart service. After configuring the parameters (documents,folder,file name) i tried to execute the smart service but getting this error.

Exceptionnet.lingala.zip4j.exception.ZipException: java.io.FileNotFoundException: /usr/local/appian/ae/_admin/accdocs2/1001691/TestZip Attachments9/5/2023.zip (No such file or directory)

Any suggestions on how to fix this error.

Thanks in advance

Pradeep

5 replies

stefanhelzle0001
Brainy
September 5, 2023

The slashes in the file name look suspicious. Is that provided by you?

Known Participant
September 5, 2023

This is the file name TestZip Attachments&today() i have given.

stefanhelzle0001
Brainy
September 5, 2023

today() becomes "9/5/2023" and the slash is an invalid character in file names. You will have to create the file name in a save way.