So try to find in the file where it has written the last character
How are you defining corrupted? Typically, all that it means is that the file does not contain as much usable data as you expected.QuoteSo try to find in the file where it has written the last characterThat's what the open() method does, when called that way. It finds the EOF in the file, and positions the write cursor at that location.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16