Dinesh Bajaj wrote:
    preparedStatement.setBinaryStream(5, inputStream, file.length());

    Message = Java exception: 'Input stream did not have exact amount of
    data as the requested length.:

Can you show more of your actual code? It sounds like 'inputStream'
is not returning the data which is in 'file'.

Paste in a larger segment of your code, showing all the activity to
'inputStream' and 'file' since they were declared as variables.

thanks,

bryan

Reply via email to