Hi im trying to download a 3gp or a rm files on my server using my app but everytime i download the file (3gp or rm) i get the binary values. i would like to download the 3gp or a RM file on the phone;s memory and play it once it completely downloaded.

here's the sample code i used.

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.*;
import java.io.*;
import java.util.*;

public class Download extends MIDlet implements CommandListener {
private static String PlayURL= "http://myserverip/paparazzi.rm";
..
....
......
private void viewData() {
HttpConnection hcon = null;

try {
hcon = ( HttpConnection )Connector.open(PlayURL);
disp.setCurrent(new GprsConnect(hcon, lstMenu));
} catch (Exception e) {
System.out.println(e.getMessage());
}
}

..
...

Can anyone help me how would I solve my problem?... Looking forward for favorable responses.

Webassassin =)