This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I am able to do ftp in standalone application. However, when I put the similar code in servlet, the servlet hang for a long while, then "The page cannot be displayed". I can see in the log file that the conenction is fine, it hangs when ftp begin to do the real transfer of the data part. Thanks.