importClass(Packages.com.hand.att.HttpPostAttUtil);
importPackage(Packages.java.io);
importPackage(Packages.java.util);
//importClass(Packages.leaf.plugin.util.Base64);

function httpPostAttUpload(postUrl,maplist,file,token,tokentype) {
	try {
		var result = new HttpPostAttUtil().UploadFile(postUrl,maplist,file,token,tokentype);
		return result;
	} catch (e) {
		println(e);
		return false;
	}
}