Charm production in deep inelastic ep scattering was measured with the ZEUS detector using an integrated luminosity of 354 pb^{-1}. Charm quarks were identified by reconstructing D^{+} mesons in the D^{+} -\u3e K^{-} pi^{+} pi^{+} decay channel. Lifetime information was used to reduce combinatorial background substantially. Differential cross sections were measured in the kinematic region 5 \u3c Q^{2} \u3c 1000 GeV^{2}, 0.02 \u3c y \u3c 0.7, 1.5 \u3c p_{T}(D^{+}) \u3c 15 GeV and |eta(D^{+})| \u3c 1.6, where Q^{2} is the photon virtuality, y is the inelasticity, and p_{T}(D^{+}) and eta(D^{+}) are the transverse momentum and the pseudorapidity of the D^{+} meson, respectively. Next-to-leading-order QCD predictions are compared to the data. The charm contribution, F_{2}^{cc}, to the proton structure-function F_{2} was extracted