Forum Discussion

Nikpowar97's avatar
Nikpowar97
Contributor
3 years ago

Pick a .csv file stored in the DM Export in Filestore and covert to a .zip file

I am storing a csv file in everyone path in filestore> Data Managemanet>Export> User folder. I want an BR that reads the file and compress (Create new .zip/ Override the .csv to .zip) and store in th...
  • JackLacava's avatar
    3 years ago

    Never done it myself but a quick googling and StackOverflowing shows you should be able to use the libraries System.IO.Compression.Filesystem and System.IO.Compression, which have a ZipFile class. You might have to reference the necessary DLLs in the rule properties though.