I'm trying to send a jar file via mms but when I try to access it, it returns me a message of 'access denied'. But when I try to reach an image in the same directory (and try to send it instead of sending the jar file), I can access it properly and mms is sent.
I thought it could be a matter of permision or maybe I just need to sign my midlet. But I've already tried to self-sign it and it didn't work. I'm using JME in an E50.


I get an error in this line:
FileConnection fc = (FileConnection)Connector.open(path, Connector.READ);
where 'path' are defined as:
String path = System.getProperty(photos) + "Sokoban1609.jar";
and 'photos' as:
private String photos = "fileconn.dir.photos";

I tried to reach my jar file in the photos directory, I don't know if there is any problem...