When user runs an SFTP job, it fails with java.io.EOFException and completion code 1.
Logs may show following error
20250101 00001234+0400 DE ftp SFTP_JOB/SOMEAPP.1/MAIN STATE FAILED SetEnd Status("java.io.EOFException") Cmpc(1) Plugin(ftp)
Workload Automation Agent: 12.0 or above
OS: Any
User that is defined in SFTP jobs lacks permission on the remote server.
Login manually to remote server as the user in job and delete or move a file. Make sure the user has delete / move permission in the same directory that is in the job. Consult Linux / UNIX admin for more details on how to grant permissions.