Skip to main content
Known Participant
Sep 5, 2023 7:15 AM UTC
Question

Create Zip FIle

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
Sep 5, 2023 7:44 AM UTC

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

Known Participant
Sep 5, 2023 7:48 AM UTC

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

stefanhelzle0001
Brainy
Sep 5, 2023 7:50 AM UTC

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.