Transport characteristics of a superconductor–ferromagnet composite