The Java code you provided is not submitting a UNZIP request to the STAF
ZIP service to unzip a file.
Did you try unzipping the zip file you created using the STAF UNZIP
service or another unzip utility (instead of using your Java code to unzip
the file)? If the STAF UNZIP request or another unzip utility works, then
there's probably a problem in your Java code to unzip the file. For
example, from the command line, if you had a zip file named
C:\test\test.zip on the local machine that you wanted to unzip to diretory
C:\unzipTest, you could run the following STAF command to unzip it:
STAF local ZIP UNZIP ZIPFILE C:/test/test.zip TODIRECTORY C:/unzipTest
REPLACE
You can submit this UNZIP request to the ZIP service via your Java
program.
On what operating system did you create the zip file using the STAF ZIP
service's ZIP request and what version of STAF is running on that machine?
And what is the exact STAF ZIP request you submitted to create the zip
file?
On what operating system did you try to unzip the file file using the STAF
ZIP service's UNZIP request and what version of STAF is running on that
machine?
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
"Shahid" <sha...@acmet.com>
07/17/2009 06:25 AM
Please respond to
sha...@acmet.com
To
<staf-users@lists.sourceforge.net>
cc
Subject
[staf-users] Problem while Unzipping the zip file created through STAF
I have written java code for unzip the zip file. Please check the
attachment.
Reference: UnzipHandler.zip
The attached program is not working while unzipping the zip file created
with the help of using ZIP service of STAF framework, if the zip file
contains empty folder(s).
What is the problem in the code?
[attachment "UnZipHandler.zip" deleted by Sharon Lucas/Austin/IBM]
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full
prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users