cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading Images from AbstractPortalComponent!

Former Member
0 Kudos

Hi All,

We are using WAS6.40. I am using NDS 2.0.9.

I am able to upload text files to the server.

But, I want to upload images too. How is this possible?

Please help me in this regard.

Awaiting your reply.

<b>Regards,

Sai Krishna.</b>

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Sai,

please, be <i>far</i> more precise!

Where is the problem, what have you done, what doesn't work? No one is able to answer a question like the one you have stated here.

Regards

Detlev

Former Member
0 Kudos

Hi Detlev,

I am not getting any error. I wanted to know how to upload images. Is there any other way or something like that.

Anyways, As i have already told, I am able to upload text files.

But, When i select JPG's or GIF's and upload, a file with the same name gets created but i am unable to see the picture.

<i><b>For ex:</b></i> Suppose there is an image <b>test1.jpg</b> of <b>55Kb</b>. When i upload it, a file named test1.jpg of size 55Kb is created in the server but i am unable to see the picture when i open it. Hope you got what i wanted to convey.

<b>Regards,

Sai Krishna.</b>

detlev_beutner
Active Contributor
0 Kudos

Hi Sai,

OK, seems that you haven't worked on the byte level. So texts work but with binary data the date is manipulated.

1.) Check it, shouldn't be that hard.

2.) If you don't get further, post the code in here (only the fragment which reads file and saves it)

3.) Mark questions as question...

Hope it helps

Detlev