Skip to main content
Level 3
Jul 12, 2019 4:38 AM UTC

Attaching a file generated by an export to a delivery

Hi all,

I'm trying to achieve the same thing as Raaghu on his thread here:

Campaign Delivery- Attachment

Unfortunately it seems that my delivery is failing and can't upload the file to the mid sourcing server.

Do I have to prepare anything before the send? I can confirm that the file exists, as the file is present in the ...<instance>/export folder

Thanks,

Erik

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

Jonathon_wodnicki
Community Advisor
Community Advisor
Jul 12, 2019 6:47 AM UTC

Hi,

For calculated attachment you're responsible for uploading the file to midsource app server(s) ahead of the delivery.

Thanks,

-Jon

Translate
Level 2
Jul 12, 2019 1:35 PM UTC

Hello,

You should Upload the file to the midsource server in the folder Public resources if you want to refer it as a link

or you can attach the file directly in the delivery

Translate
Level 3
Jul 22, 2019 4:58 AM UTC

Thanks yassinen, wodnicki. How do I go about uploading the file programatically? The original forum question and responses didn't mention an activity to have the file uploaded to the midsourcing server after the csv is generated via the Data Extraction (file) step. I can confirm that the file is in the .../public/export/myfile.csv.

Thanks

Translate
Level 3
Jul 28, 2019 11:19 PM UTC

Hoping someone can help with the last bit of info I need.

Thank you,

Erik

Translate
Jonathon_wodnicki
Community Advisor
Community Advisor
Jul 29, 2019 2:04 PM UTC

Hi,

Public resources are for referencing from the email, e.g. links and images.

For attachments you would have to transfer the file ahead of the delivery with a File transfer activity or via shell code.

Thanks,

-Jon

Translate
Level 3
Jul 30, 2019 4:04 AM UTC

Hi Jon,

How do I go about setting up the file transfer activity to the midsourcing server? Do I need to set up an external account and where do I get the details to connect to it?

Thanks,

Erik

Translate