The symmetric simple exclusion process (SEP), where diffusive particles cannot overtake each other, is a paradigmatic model of transport in the single-file geometry. In this model, the study of currents has attracted a lot of attention, but so far most results are restricted to two geometries: (i)a finite system between two reservoirs, which does not conserve the number of particles but reaches a nonequilibrium steady state, and (ii)an infinite system which conserves the number of particles but never reaches a steady state. Here, we obtain an expression for the full cumulant generating function of the integrated current in the important intermediate situation of a semi-infinite system connected to a reservoir, which does not conserve the number of particles and never reaches a steady state. This results from the determination of the full spatial structure of the correlations, which we infer to obey the very same closed equation recently obtained in the infinite geometry and argue to be exact. Besides their intrinsic interest, these results allow us to solve two open problems: the survival probability of a fixed target in the SEP, and the statistics of the number of particles injected by a localized source.