Need help creating an Archive of multiple mp3 files downloaded via iterator & HTTP Get File + Archive aggregator

[edit, ive attached a conceptual blueprint for anyone wanting to take a look]

Fairly straightforward (I thought)…

Attempting to create an archive of X number of different MP3 files into one zip file. I can execute what I think is the proper flow (iterate with list of files, get files, archive aggregator) but instead of a zip file containing 2 mp3 files I get a singular mp3 file from the zip when downloaded & extracted.

Anyone accomplished this before? I’ll add some more screenshots of my setup below… Also, I’m upload the zip file at the end of the scenario so I can download/view it.

Maybe I’m missing a simple step?
blueprint (93).json (8.2 KB)

You should “Map” the file and give both files a different file name.

38f0de47a7328a44f0424cf63da390f21fa9558b

2 Likes

Yea, i thought that might be it too - but not so much…

Still results in a merged file - very strange

Wow, does that merged MP3 file contain the audio of both files back-to-back? That’s a very interesting behaviour of the Archive module. I’ve never had this occur for other types of files before.

For technical issues or bugs like this, directly contacting support can often lead to a faster resolution. They have access to your specific account details, scenario and scenario logs, server-side logs, and internal tools and resources, which allows them to investigate more thoroughly than what you have access to. Additionally, sharing sensitive information about your situation might not be suitable for an open forum discussion.

You can open a new ticket, or if you are unable to login for some reason, you also can reach support using the contact form on the website.

If you manage to get your issue resolved with support, we’d still love to hear about it! Sharing your solution on the forum can help others facing similar problems.

1 Like

@Sean_Vosler I actually don’t see what you see. When I do this either by mapping the file or using the HTTP - Get a file directly I see 2 files in the zip files. I am downloading the archive to Dropbox to see the file that’s been archived. When I use the map approach I can change the filename of each file being downloaded whereas with the HTTP-Get a file the files will all be named the same in the archive. I used a the split() function to extract the file name of each file out of the original URLs from the iterators.


Here’s the scenario blueprint I was using:

blueprint (28).json (8.1 KB)

3 Likes

Yeah I think more information is required.

Please provide the output bundles of the modules [72] and [73] by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

There should be a total of three output bundles you will provide to us.

This will allow others to better assist you. Thanks!

2 Likes

It must have been some weird behavior with the file name… seems the solution Alex pointed to below works, I’m honestly not sure what caused the issue!

The “merged file” was actually the first file which seemed to either override the 2nd, OR (more likely) it just created two archives and overrode one of them on the server (guessing)

1 Like

I honestly am not 100% sure what my issue is still, but your split/value formula seemed to do the trick

image
image

Thanks for your help!

2 Likes

If you want to find out what went wrong so you can avoid the same issue in future, I’m still awaiting your output bundles as requested.

2 Likes