if (response.equals("SUCCESS")) {
if (response.indexOf("SUCCESS") >= 0) {
	public boolean uploadFile(File file) {		String filename = file.getName();		status("[Upload " + filename + "] Uploading...");				String uploadMessage;				try		{			URL url = new URL(mURLString);			String savePage = url.getFile() + SCRIPT_NAME;					NVPair[] opts = {				new NVPair("set_albumName", mAlbum),				new NVPair("cmd", "add-item"), 				new NVPair("protocal_version", PROTOCAL_VERSION)			};			NVPair[] afile = { new NVPair("userfile", file.getAbsolutePath()) };			NVPair[] hdrs = new NVPair[1];			byte[]   data = Codecs.mpFormDataEncode(opts, afile, hdrs);			HTTPResponse rsp = mConnection.Post(savePage, data, hdrs);			if (rsp.getStatusCode() >= 300)			{				uploadMessage = "HTTP Error: "+rsp.getReasonLine();							} else {				String response = new String(rsp.getData());				if (response.equals("SUCCESS")) {					uploadMessage = "Success";				} else {					uploadMessage = "Upload Error: " + response;				}			}		}		catch (IOException ioe)		{			uploadMessage = "Error: " + ioe.toString();		}		catch (ModuleException me)		{			uploadMessage = "Error handling request: " + me.getMessage();		}						status("[Upload " + filename + "] " + uploadMessage);		return (uploadMessage.equals("Success"));	}