! C:\Users\Public\Music\Sample Music\New folder\3.zip: CRC failed in 3.zip.xml. The file is corrupt.
It does work sometime.
6 Answers, 1 is accepted
Unfortunately I wasn't able to reproduce this issue locally and therefore I wanted to ask you if you can send over a sample solution where we can try to reproduce this issue. This will allow us to further investigate what might be causing it.
Thank you in advance for your cooperation.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
In this conditions, you can take help of third party tool to resolve your all problem without any error. Browse the given link- http://exchangerecovery.hubpages.com/hub/zipfilerecovery
The blog provided the helpful information about ZIP files corruption and way to tackle them.
- Launch WinRAR program on your system
- Click File tab > Open archive (Ctrl+O)
- Select corrupt ZIP archive
- Click on Tools tab > Repair archive (Alt+R)
- Select archive type and a location for new ZIP file.
- Click on OK.
If this doesn't help you, you may try a 3rd party ZIP recovery tool. I can recommend you to check demo version of SysInfoTools ZIP Recovery software. It will fix corruption and repair your ZIP file.
Go to sysinfotools.com to know more about this software.
You can use WinRAR to repair the zip file. If this does not work then you can go with third-party software to repair the zip file. If you want to know more about this problem and its solution, go to https://www.syscurve.com/
Your code is correct and I have tested it and it works on my side. The error suggests that something is wrong with the file inside the archive. This can be assumed because of the intermittent nature of the issue as well. I would suggest checking the code that creates the file stream.
I hope this helps. Should you have any other questions do not hesitate to ask.
Тhe web is about to get a bit better!
The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.