• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

download BIG attachfile from servlet, HOW?

 
tony mao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to download a attachfile from servlet, but now it only can download file which size is less than 20KB.
i don't know why
actually i use the InputStream got from the attach Part, but it tell me that the InputStream.available() is 0. when download a big file(about 200KB) it seams that is blocked.
now can help me and give me a answer about the InputStream on NetWork, and why it blocked(just look like)?
any replay is appreciated, 3kx!
 
Pritam Banerjee
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm able to download files with size uptoseveral MB's without any problem. Can you share your basic code, for us to check ?
 
tony mao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank for ur replay
there is my code:

if i use while() statement to get the file content it will blocked, i guess is that problem with deploy of my IMAP server? But use OutLook to get mail attach file is OK! So what's the matter?

hope u can give me a hand.
[ May 09, 2002: Message edited by: tony mao ]
 
tony mao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any body knows that?
 
tony mao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
up again
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic