Discussion Shambhu Tiwary (ShambhuTiwary) Morgan Stanley Morgan Stanley IN View Profile ShambhuTiwary Member since 2016 9 posts Morgan Stanley Posted: 6 days 3 hours ago Last activity: 5 days 3 hours ago Posted: 18 Sep 2023 9:29 EDT Last activity: 19 Sep 2023 10:08 EDT Create zip file, add subfolders inside and download the zip file to local Report Summary The following steps will enable users to generate zip files containing the files where the files can be included inside a subdirectory/folder inside the zip. Expectations pyWorkPage.SendFiles contains the list of files to be included in the zip file. zipFileName parameter contains the name of the zip file. AttachStream and AttachName contain the stream and name of the files simultaneously. Boolean property IsSubFolderExist determines if that particular file will be put into a subfolder. Screenshot of a sample activity JAVA step content is attached below. ***Edited by Moderator Marije to change type from General to Product, added DKS tag*** Pega Platform 8.7.5 Java and Activities Developer Knowledge Share Reply Like (0) Share Share this page Facebook Twitter LinkedIn Email Copy link Copying... Copied!