You can do this using Perron's formula. It determines all but a finite number of $f(n)$, the rest of which we can find using a Vandermonde-argument:
If $F$ has finite abscissa of (absolute) convergence $\sigma_a$ and $n>\sigma_a$ is an integer, using Perron's formula we can express $f(n)$ as a difference of contour integrals (with values $\sum_{k<n}f(n)$ and $\sum_{k\leq n}f(n)$). Having determined those $f(n)$, subtract $\sum_{n>\sigma_a}f(n)/n^s$ to reduce to the case where only finitely many $f(n)$ are nonzero. Evaluating the series at $s=1,2,3,\ldots$ gives a Vandermonde linear system in the $f(1),f(2),\ldots$ which determines $f$.
Of course, if $\sigma_a=+\infty$, as a function $F(s)$ carries no information.