When the application uses SCP, the operation fails with the errors:
"SQL0332N Character conversion from the source code page "819" to the target
code page "UNKNOWN" is not supported. SQLSTATE=57017
SQL1024N A database connection does not exist. SQLSTATE=08003
SQL0843N The server name does not specify an existing connection.
(I believe code page 819 is Latin-1)
but when the application uses SFTP, the error does not occur.
Is there any obvious reason why this should occur?
Hard to tell without seeing a log file. But no, in general, there's no obvious reason.
Any reason why you are even trying to use SCP?