Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

attach download problem!  RSS feed

tony mao
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.
i use the IMAP mail server, on POP3 mail server all is OK!
is there any difference between the two mail server on attach file? or incorrectly deploy IMAP server?
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!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!