Looking at the two files, there is no problem at all. Sure they are different sizes, but the internal structure of the two MMS files (the original and that received at the VAS side) is *exactly* identical. Each of the two files is:
 - An MMS message with 3 parts:
- 17380 byte GIF image
- 17 byte text part
- 732 byte SMIL 
   message appears to have been created with Adobe GoLive.

Note that Mbuni always unpacks each MMS received, and may not pack it back the same way as before when sending it back out (although of course the message is still the same). This accounts for the difference, so don't worry about different file sizes for now :)

P.

On Jun 02, 2006, at 09:23, kartikay malhotra wrote:

mouse_cat.mms is the sent file

I copied the contents of the received binary file in uploaded_file.

Thanks
KM

P.S. Even if there is problem with PHP, I believe the uploaded files shouldn't vary in size everytime I send the file across. In other words, file corruption (or format conversion, if any) must be of the same type, no?


On 6/2/06, Paul Bagyenda <[EMAIL PROTECTED]> wrote:
Please send the two files: The one you send and the one you receive. I suspect there is a small problem with the multipart/form-data encoding.

P.

On Jun 02, 2006, at 08:22, kartikay malhotra wrote:

Hi Paul and Everyone,

Thanks a million Paul. The code works fine. The problem however, was not with spaces. I didn't uninstall Mbuni prior to installing the CVS version. I think, we should have a small uninstall script :)

Small problem. Everytime I upload a file from VASP to my HTTP server, the size differs from what was sent. I'm using

http-post-parameters=userfile[]=%b

The size of sent mms file is 18513 bytes. What is received is a binary file varying in size between 18508 to 18514 bytes.

<?php

 print_r($_FILES['userfile']['size']);

?>

returns : Array.(. [0] => 18509.) in the mmsbox shell (in one instance). Other times the size is different.

Please advise.

Thanks
KM


_______________________________________________
Users mailing list


_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org



<mouse_cat.mms>
<uploaded_file>

_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to