This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a rare problem with the FTPCliente component...
I'm programing a JApplet to connect FTP to one server.. and when declare the FTPCliente object .. the applet hangup.. no exception rise... no messages... nothing... execution never finish... i'm very very stuck...
My developed machine is: Windows XP, Apache 2.2.4, PHP 5.2.4, JDK 1.6.11, org.apache.commons 2.0
So... the applet never finish... no message write in screen... but If I comment the line "clienteFtp = new FTPClient();" the applet works fine and the message "OK, FTPCliente object created!" write ok...
Seem me a fool error.. but ... I don´t understand the problem??... Can a simple creating object hangup the execution of an applet??
I think the browser make one http petition for each archive (in this case 4 petition)... so... each petition mean the client browser must wait to server response to download the file.. right?.. if we have 4 files... need wait 4 times more... If we have only 1 archive only must wait the time of one connection... it's right?
Hope explain myself ;)
Dittmer, really... thanks for you support!! really thanks!!
Joined: Mar 22, 2005
I think the browser make one http petition for each archive (in this case 4 petition)... so... each petition mean the client browser must wait to server response to download the file.. right?.. if we have 4 files... need wait 4 times more... If we have only 1 archive only must wait the time of one connection...
Actually, in almost all cases only a single connection would be used, thanks to HTTP pipelining, so there's no overhead of multiple connections. Also, even if there were multiple connections to be opened and closed, the time to do that would be dwarfed by the time it takes to download the jar files themselves. So there's nothing wrong with having multiple jar files.
Joined: Feb 12, 2009
All clear now!!
I'm very grateful!! thank you!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: FTPclient by org.apache.commons hangup...