I would just like to ask if it’s possible for me to check the status of a file (csv file) download in Django .
I have a template page with a button, which when clicked, opens a ‘Save As’ dialog box for downloading a file from the server (file content is retrieved from db). after the download is complete i want to update my DB with its status (if download complete status = Downloaded ,if abort status = aborted , if Cancel Status= Canceled . How can i do this ?
I would just like to ask if it’s possible for me to check the
Share
I don’t know if this is exactly what you want, but you could check filesize at two timepoints and then compare the filesize. For sure if the download is pausing for some reason, this solution is not very good.