If you are executing sFTP on an iSeries in batch, the user profile executing the job must be 8 characters or less. This is important.
If you forget this, the error message is “No user exists for uid ###”. This error message does not point you to what is wrong, exactly. It’s a hint. A vague hint.
The iSeries user profile has the uid number.