We have been experiencing some problems when clients are downloading .mms files of our servers. I'm not sure if te problem is on the client's side or on ours. The .mms files are produced using Nokia's MMS Java Library 1.1
Basically we produce mms content and publish it on our servers. After placing it on ourservers, we then send a MMS notification push to the intended recipient with the URL to the mms file. The URL are something like this:
Where 123456778 represents a unique id for each mms.
mmsgateway is basically a cgi script. What it does is is something like:
Where data is the raw binary data which is read from the specified .mms file.
print "Content-type: application/vnd.wap.mms-message"
When the mobile receives the MMS notification, it will then make a GET request to mmsgateway and we will just spill out the file to the client. Now, some of the handsets that we tried with keeps on getting "Download failed" or "Interrupted Errors" errors, although they clearly GET the file of the server. These clients were (from the HTTP_USER_AGENT):
Nokia3220/2.0 (03.30) Profile/MIDP-2.0 Configuration/CLDC-1.1
A1000 - MMS./A1000./1.0
But we also had success with the following clients:
Nokia6680/1.0 (3.04.37) SymbianOS/8.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1
SonyEricssonP900/R102 Profile/MIDP-2.0 Configuration/CLDC-1.0 Rev/MR4 UP.Link/1.1
I have a feeling that we are not returning a correct response to the client, hence they are getting the errors, but the fact there were other clients that doesn't have the problem is leaving us stumped.
Anyone with any ideas what else should I try out?
Thanks in advance