I create csv file for user like that:

$this->_prepareDownloadResponse($name.'.csv', $csv, 'type/csv');

Can I check if user download whole csv correctly?


There is no good way to do this using php. Have a look at this stackoverflow thread for some more info.

If you don't need this for an automated process, but rather to give the client certainty that they downloaded the file ok, maybe it's better to provide a checksum and ask users to validate the integrity of the downloaded files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.