|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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! |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
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 |
|
#4
|
|||
|
|||
|
Thanks
Thx for the reply.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Downloading midi, java, piscs - how to get download completion info |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|