FTPClient slow on laptops

Discussion in 'Java' started by Barbara Vernaeve, Nov 18, 2004.

  1. Hi,

    I hope somebody can help me with following problem:
    I have a Struts based JSP application (JDK1.4.1_06).
    I am using org.apache.commons.net.ftp.FTPClient from the
    commons-net-1.0.0.jar to ftp up to 5 files to a server.
    If I try this via a browser op a desktop, this happens within 5
    seconds.
    If I try the same thing with the same attachments via a laptop, this
    takes about 30 seconds. (On some laptops it is fast however.)

    What can be the problem here? Can it be linked to dynamic ip addresses
    vs static ip addresses? It has no link with the memory on the machines
    or with the browser. If I just open an ftp connection on the laptop or
    desktop and ftp a file, this happens in about the same time.

    I wait for an acknowledge of the ftp before the code goes on.

    Thanks for your help on this tough one!

    Barbara
     
    Barbara Vernaeve, Nov 18, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Neeraj Vibhasrao Kulkarni

    sun.net.ftp.FtpClient

    Neeraj Vibhasrao Kulkarni, Nov 15, 2004, in forum: Java
    Replies:
    1
    Views:
    14,407
    A. Bolmarcich
    Nov 15, 2004
  2. Pradeep

    FTPClient Help

    Pradeep, Aug 16, 2006, in forum: Java
    Replies:
    2
    Views:
    533
  3. Christopher Benson-Manica

    Apache commons net 1.4.1 FTPClient reliability

    Christopher Benson-Manica, Sep 20, 2007, in forum: Java
    Replies:
    0
    Views:
    505
    Christopher Benson-Manica
    Sep 20, 2007
  4. Mikhail Teterin

    Apache's FTPClient class, anyone?

    Mikhail Teterin, Feb 11, 2008, in forum: Java
    Replies:
    4
    Views:
    4,069
    symphonyx
    Feb 19, 2009
  5. Susanne Kaufmann
    Replies:
    3
    Views:
    735
    Gordon Beaton
    Jun 30, 2008
Loading...

Share This Page