WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 25th, 2004, 10:07 AM
mveljko mveljko is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 3 mveljko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 36 sec
Reputation Power: 0
Lightbulb Downloading midi, java, pics - how to get download completion info

Hi there,

Does anyone knows how can I get some kind of download completion info when user successfuly downloads midi, java game or picture from my WAP site?

I'm running PHP on Apache.

THANKS!

Reply With Quote
  #2  
Old October 25th, 2004, 10:47 AM
usstb usstb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 usstb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I am afraid not :(

Hi,

I am afraid this will not be possible or not entirely reliable:
Even if apache sees a complete transfer, it will only see the transfer between the gateway and itself not between the gateway and the mobile.
The gateway will cache the file before transfering it to the mobile network. Therefore, if your user goes out of cell range during a download for instance, the gateway will not be able to send the data but your server will have seen a complete download.

Regards,
Sebastien

Reply With Quote
  #3  
Old October 26th, 2004, 08:19 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
for jad files use the notiy-url value, find out more in the specs which are posted on here somewhere.

we have an in house way of finding out if a user has downloaded but it isn't foolproof as usstb says, we can only really know for sure that it has been accessed and not find out if it has been downloaded okay.

one way that comes to mind would be to create a special java file that handles the downloads for you and then works out if the file has been downloaded, say for example get the filesize from the headers then once the app has received all that data send a notify by http. just a thought but i'm not up on creating java apps, sure it could be done though.....
__________________
Andy Moore << oh no it's got a blog.....
Word Press WAP Plugin with Ad Mob Advertising revenue
PHP developer
deploying ringtones, mp3 downloads and realtones
I'm a geek who's obsessed with stats and gadgets

Reply With Quote
  #4  
Old October 27th, 2004, 03:37 AM
mveljko mveljko is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 3 mveljko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 36 sec
Reputation Power: 0
Thanks

Thx for the reply.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Downloading midi, java, piscs - how to get download completion info


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway