The astrophysical factor for 7Be(p, γ)8B at zero energy, S17(0), is determined from an analysis of 208Pb(8B, p+7Be)208Pb at 52 MeV/nucleon by means of the method of continuum-discretized coupled-channels (CDCC) taking account of all nuclear and Coulomb breakup processes. The asymptotic normalization coefficient (ANC) method is used to extract S 17(0) from the calculated breakup cross section. The main result of the present paper is S17(0)=20.9-1.9+2.0eVb. This value of S17(0) differs from the one extracted with the first-order perturbation theory including Coulomb breakup by dipole transitions: 18.9 ± 1.8 eV b. It turns out that the difference is due to the inclusion of the nuclear and Coulomb-quadrupole transitions and multi-step processes of all-order in the present work. Our main result of S17(0) is consistent with the value obtained from a precise measurement of the p-capture reaction cross section extrapolated to zero incident energy, S 17(0) = 22.1 ± 0.85 eV b. Thus, the agreement between the values of S17(0) obtained from direct 7Be(p, γ) 8B and indirect 8B-breakup measurements is significantly improved.