on 05-18-2020 11:20 PM
Can someone please help me to understand how to Zip txt files in BODS?
Dear ramyas1324,
you need to write a batch script or similar and trigger the script with EXEC() function from within Data Services.
Something similar to:
http://stackoverflow.com/questions/20485419/batch-file-script-to-zip-files
Also, if you have 7zip or winzip installed on your machine, you could trigger their executables with respective CLI commands. You can follow the respective CLI documentation for 7zip:
https://sevenzip.osdn.jp/chm/cmdline/syntax.htm
for example:
exec('7z.exe', 'a -tzip <Path and Filename for Zipfile> <path and Filename to be Zipped>', 8);
Regards,
Julian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.