attachment是名词,为附件
The attachment is posted on-line.
attached是动词过去式,也可以作形容词用,为附加上的
The file is attached on-line.