thank's for reply.
I am using Eclipse, previously I was using an attachment code like below,
UnSavedVersionCustom uploadAttachments = new UnSavedVersionCustom(document,document.getCurrentRevision());
uploadAttachments.setAttachment(child.getName(),"image/jpeg", new FileInputStream(child));
uploadAttachments.save(true);
But now the latest code is saying that
How we can do the suppose an attachment is new one(Image) ? or how we can get the latest jar file for eclipse(bcoz i can not recompile patch).
Please do the small favor.
Thank's
prasanna