Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

Zip file include to sftp

Avatar

Level 1

Hi Team,

I have a requirment to create a Zip file in sftp server from Adobe Campaign, Zip file capability to get insert/Update files in the zip.

What have i tried:

Option:1
1. Generate .csv files from Campaign and move to sftp location
2. use linux commands to create ZIP file and move the all .csv file to zip file created.

2nd step is failed with JS Error.

Option: 2
1. Generate .csv files from Campaign and move to sftp location
2. create sh file with shell script to change directory and zip command to zip the file.

cd is working from terminal, but when it is in .sh file, it is not working.

Please suggest any menthods/code availalbe for this.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi Umesh,

I would suggest checking out the thread below, as a similar question on zipping was asked and a solution provided. If you still get errors on the Linux side, I would recommend posting the specific error.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/club-csv-and-txt-f...

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi Umesh,

I would suggest checking out the thread below, as a similar question on zipping was asked and a solution provided. If you still get errors on the Linux side, I would recommend posting the specific error.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/club-csv-and-txt-f...