Solved

how to add a pkzip command line in a jsp code

Posted on 2009-04-11
4
399 Views
Last Modified: 2012-05-06
I have a text file created using jsp.I need to compress file using PKZIP (pkzip -as<password> -n+ <zip file> <filename>).I wants to add this compression automatically using the jsp code.My application server is linux based.
0
Comment
Question by:itdeptalansari
4 Comments
 
LVL 19

Accepted Solution

by:
Kuldeepchaturvedi earned 500 total points
ID: 24122675
if you want to run it as a command line parameter than you can use System.getRuntime().exec("your command");
0
 

Author Comment

by:itdeptalansari
ID: 25625334
'''''
0
 
LVL 20

Expert Comment

by:Venabili
ID: 35872703
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question