.csv file to .zip file format conversion
Hello Team,
I'm looking to convert a single .csv file into a .zip format and then transfer it to SFTP. Could you please assist me with this?
Thank you.
Regards, Ankita Vishe
Hello Team,
I'm looking to convert a single .csv file into a .zip format and then transfer it to SFTP. Could you please assist me with this?
Thank you.
Regards, Ankita Vishe
Hi @ankitav3131 ,
You can use the below Command to convert .csv file generated using Data Extraction activity to .zip file
Please run this command using Java script activity.
execCommand('zip -r -j '+vars.directorypathZipFileIsPlaced+' '+vars.filename+'');
Here vars.filename refers to the .CSV File generated.
Regards,
Pravallika.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.