无网络连接
  1. Home
  2. Questions

Unzipping Attachments

作者:Michael Bertoni @mibertoni
    2023-01-13 20:22:41.472Z

    Is there a way with Think Automation to extract an attachment from an email and if it is a .zip file to unzip it to its individual files and save those to the file system? I wasn't able to locate a command to unzip a file but maybe I missed it.

    • 3 回复
    1. R
      @readar
        2023-01-13 21:58:36.903Z

        It's an option on the message source, properties.

        1. D
          Daniel Horton @daniel.horton
            2023-01-16 09:16:43.422Z

            As Readar states it is an option on the Message Source for attachments. Additionally there is a Compression action that can be used to Compress and Decompress files -

            1. 进展
            2. M
              Michael Bertoni @mibertoni
                2023-01-16 13:37:24.001Z

                Great the decompress command worked. I did try the unzip Zipped Attachments too but that didn't work the attachments would still be saved as .zip when I extracted them to a folder. All good now though since dcompressing works perfectly.