Measurements of 7 Be scattering at 87 MeV on a melamine (C 3 N 6 H 6 ) target and of 8 B at 95 MeV on C were performed. For 7 Be the angular range was extended over previous measurements and monitoring of the intensity of the radioactive beam was improved. The measurements provide a renormalization of the absolute cross section of existing data on the proton transfer reaction 14 N( 7 Be, 8 B) 13 C and lead to improved optical-model potentials used in the incoming and outgoing channels for the distorted-wave Born approximation analysis. The results yield an updated determination of the asymptotic normalization coefficient for the virtual decay 8 B → 7 Be + p. The new value, C 2 tot ( 8 B) = 0.466 ± 0.049 fm −1 , is slightly larger than, but consistent with, the previous result. This implies an astrophysical factor, S 17 (0) = 18.0 ± 1.9 eV b, for the solar neutrino-generating reaction 7 Be(p, γ ) 8 B.