The cross section of the diffractive process e^+p -> e^+Xp is measured at a centre-of-mass energy of 318 GeV, where the system X contains at least two jets and the leading final state proton p is detected in the H1 Very Forward Proton Spectrometer. The measurement is performed in photoproduction with photon virtualities Q^2 <2 GeV^2 and in deep-inelastic scattering with 4 GeV^2<Q^2<80 GeV^2. The results are compared to next-to-leading order QCD calculations based on diffractive parton distribution functions as extracted from measurements of inclusive cross sections in diffractive deep-inelastic scattering.
Properties of the hadronic final state in photoproduction events with large transverse energy are studied at the electron-proton collider HERA. Distributions of the transverse energy, jets and underlying event energy are compared to $\overline{p}p$ data and QCD calculations. The comparisons show that the $\gamma p$ events can be consistently described by QCD models including -- in addition to the primary hard scattering process -- interactions between the two beam remnants. The differential jet cross sections $d\sigma/dE_T~{jet}$ and $d\sigma/d\eta~{jet}$ are measured.