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!