Oracle Solution for Error ora-31198

Solution for Oracle Error ORA-31198

ORA-31198: Mismatch in number of bytes transferred due to non-binary mode

What triggered the Error:

An error occurred while reading the specifed file. The most probable cause is that the transfer was initiated in ASCII mode.

What should we do to fix it:

Ensure that the transfer mode is set to BINARY