Welcome! Log In Create A New Profile

Advanced

Tracking the start and complete of a download?

Robert La Ferla
October 15, 2010 11:26AM
How could I configure nginx so that when a download is started and
when it completes, it makes a HTTP GET request to another web server?

e.g.

1. User requests http://nginx.com/download/file.zip?data=123456 (the
filename and some additional getargs)
2. nginx calls
http://myotherserver.com/downloadStarted?url=/download/file.zip&data=123456
(passes the original url with getargs)
3. nginx serves byte-range requests of file.zip to user
4. nginx determines that all byte-range requests have been served and
calls
http://myotherserver.com/downloadCompleted?url=/download/file.zip&data=123456
(passes the original url with getargs)

--
- --
Robert La Ferla
VP Engineering
OMS SafeHarbor

This message (and any attachments) contains confidential information and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, distribution, or the taking of any action based on this message, is strictly prohibited.


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Tracking the start and complete of a download?

Robert La Ferla October 15, 2010 11:26AM

Re: Tracking the start and complete of a download?

Manlio Perillo October 15, 2010 04:58PM

Re: Tracking the start and complete of a download?

Eugaia October 15, 2010 05:22PM

Re: Tracking the start and complete of a download?

Manlio Perillo October 16, 2010 05:08AM

Re: Tracking the start and complete of a download?

Eugaia October 16, 2010 11:30AM

Re: Tracking the start and complete of a download?

Robert La Ferla October 17, 2010 08:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 205
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready