Thanks Tony for the great tip! I managed to get it working by using:
var fileName = form.lookupWidget("upload").getValue().getHeaders().get("filename").toLowerCase();
// using getName because Internet Explorer sends entire path fileName = new java.io.File(fileName).getName(); Daniel. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]