partial implementation of the Upload/Write button