Zip file include to sftp | Community
Skip to main content
February 12, 2024
Solved

Zip file include to sftp

  • February 12, 2024
  • 1 reply
  • 850 views

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.

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

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-files-in-to-a-single-zip-file/td-p/463100

 

1 reply

Craig_Thonis
Adobe Employee
Craig_ThonisAdobe EmployeeAccepted solution
Adobe Employee
February 12, 2024

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-files-in-to-a-single-zip-file/td-p/463100