Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate file to size #78

Open
dcsobral opened this issue Nov 11, 2020 · 0 comments
Open

Truncate file to size #78

dcsobral opened this issue Nov 11, 2020 · 0 comments

Comments

@dcsobral
Copy link

I'm trying to use mod_zip to send a folder full of logs, but I stumble upon a problem. If the file is bigger than the size specified on the list, mod_zip will send the full file, resulting in a corrupted zipfile. Since log files get appended to often, this often results in downloads that seem to be successful but consists of a corrupted file.

Truncating the content sent to the specified size would solve the issue neatly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants