Upload image file to IS

Hello,

I want to uplode a file to IS server in order to save it to a hard-drive, I m using a HTML-form to send the file info:

<FORM METHOD=GET ENCTYPE=“multipart/form-data” ACTION=“http://server:8888/invoke/test/putImage”>
File to upload: <INPUT TYPE=FILE NAME=“Image”><BR>
name: <INPUT TYPE=TEXT NAME=“Name”><BR>
<INPUT TYPE=SUBMIT VALUE=“Submit”>
</FORM>

On the putImage service on the IS I have the 2 inputs, being the Image input of the type Object. My question is: of what type is this input? a byte? I couldnt make a cast, so how can I cas it to bytes in order to write it to a file??? Is there another way of doing this? thankx

try these two threads:

[url=“wmusers.com”]wmusers.com

[url=“wmusers.com”]wmusers.com