Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to check for a compressed file

843840Aug 29 2007 — edited Aug 29 2007
hi,

I need to restrict the user to upload only compressed files (zip,sit etc.).
how do u check whether the input file is compressed or not. is there any way to do that? or should i check only with the extension?

Thanuja.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2007
Added on Aug 29 2007
1 comment
237 views