Can I extend the "Attachment" menu?

When you select an attachment in a form, a new ‘Attachment’ menu is added. I was wondering: can this menu be extended to contain more actions (e.g “Save to FTP…”)? What is the programmatic interface?