This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
when downloading that file with FileZilla the extraction method working well, so i guess that the problem in the method which i am using for downloading(retrieveFile(String remoteFileName, FileOutputStream fos)) ...
I am using Apache Library (commons-net.jar), is there any problems for that library ?
Ah yes, the dreaded ASCII / binary download problem. Downloading a binary file (like ZIP files) as if they were text will corrupt the file. That's what happened to you. When using binary or automatic for transferring you won't have this problem.