Hi,
when you use the MoveTo method, or any code that let the origin file path changed or deleted , the attachment item would be removed.
Please check our adavanced example , the ReadTopic.aspx and EditTopic.aspx would tell you how to use the UploadAttachments correctly.
Regards,
Terry