Say I have a Spring MVC web application and it allows users to upload a file. An email is sent at the same time the file is sent to the user.
Is there a way to detect a canceled download so that I can send an email only if the download is successful?
You need a script download that serves larger files in separate blocks. When the last block is served, you can accept (there is no way to know with HTTP) that the entire file was received by the client.
157318 194579 , PHP, HTTP ( HTTPS) , .
Source: https://habr.com/ru/post/1710978/More articles:How do many graphical components affect Swing GUI performance? - javaWhen implementing the [] operator, how do I enable border checking? - c ++Why do these weird characters appear in mcrypt? - phpGetting readable Spring circular link information - javagnome-terminal: how to remove scrollbar programmatically? - x11Do you know any unobtrusive, simple GUI or design guidelines for notifications? - user-interfaceIs free NHibernate a production-ready code? - fluent-nhibernateProblem with sqlite delete on iPhone - databaseWhy does findAllBy * fail when using three conditions in Grails / GORM? - grailsASP classic читает .NET cookie в Firefox, но не IE - cookiesAll Articles