Intimation of file download complete

Intimation of file download complete SearchSearch
Author Message
noelfernandes
New member
Username: Noel

Post Number: 9
Registered: 05-2004
Posted on Thursday, August 05, 2004 - 07:35 am:   

hi

1)how can i come to know how the file has
been downloaded completely when a wappush
message is sent ie when the user clicks on the
link.

2)Is there a way 2 to know the phone number
of the user when the download is complete

thank you


Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3218
Registered: 10-2002
Posted on Thursday, August 05, 2004 - 02:57 pm:   

Hi,

1. By determining whether or not the URL that you sent in the push was requested. Because WAP gateways are usually in the middle, you can't really know if a file has been downloaded completely, you only know if it has been requested.

2. This is operator specific, and in most cases, the answer is no. (The issue is whether or not the operator sends the phone number in the HTTP header when processing a request. For privacy reasons, this is not normally transmitted.)


Basically, if you want to do some tracking, you need to generate dynamic URLs when you send out the push.

For example, using the Multimedia WAP Push function in NowSMS, it is possible to request a delivery report that will be triggered when the recipient opens up the dynamically generated push URL. To request a delivery report, include MMSDeliveryReport=Yes as a variable in the request when submitting the Multimedia WAP Push. The delivery report will tell you that the particular phone number retrieved the request.

If you are submitting through one of the MMS APIs (MM7, MM4/SMTP) to send a WAP Push then you need to request a delivery report in the request the same what that you would for an MMS message.

For MM4:

X-Mms-Delivery-Report: Yes

For MM7:

<DeliveryReport>true</DeliveryReport>

-bn