----- Original Message -----
From: "john-paul delaney"
> Seems there's a mismatch of data types between int and long of InputStream
and FileInputStream of java.io? How to cast one so it's type is compatible
with the other?
>
try with
ps.setBinaryStream(2, fis, (int)file.length());
hth,
Marin
----
"...what you brought from your past, is of no use in your present. When
you must choose a new path, do not bring old experiences with you.
Those who strike out afresh, but who attempt to retain a little of the
old life, end up torn apart by their own memories. "