The fast Fourier transform is used to compute the electromagnetic fields scattered by a long straight conductor buried in a layered earth. The source field is a transverse-electric plane wave. A conductor buried less than 0.25 skin-depths disturbs the ambient fields significantly. The position and depth of the conductor can be determined from the observed fields. A method for including several conductors, including their interactions, is discussed.