basic putAttachment working, need to solve actual file content upload