commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From G E <>
Subject RE: FTPClient, resume an interrupted upload?
Date Mon, 06 May 2013 18:46:05 GMT

Hello there,

thanks a lot for the reply. I set the keep alive timeout with "setControlKeepAliveTimeout(300)"
but it did not work, here is the exception thrown : Broken pipe
    at Method)
    at Main.startUpload(
    at Main.uploadFiles(
    at Main$2.actionPerformed(
    at javax.swing.AbstractButton.fireActionPerformed(
    at javax.swing.AbstractButton$Handler.actionPerformed(
    at javax.swing.DefaultButtonModel.fireActionPerformed(
    at javax.swing.DefaultButtonModel.setPressed(
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
    at java.awt.Component.processMouseEvent(
    at javax.swing.JComponent.processMouseEvent(
    at java.awt.Component.processEvent(
    at java.awt.Container.processEvent(
    at java.awt.Component.dispatchEventImpl(
    at java.awt.Container.dispatchEventImpl(
    at java.awt.Component.dispatchEvent(
    at java.awt.LightweightDispatcher.retargetMouseEvent(
    at java.awt.LightweightDispatcher.processMouseEvent(
    at java.awt.LightweightDispatcher.dispatchEvent(
    at java.awt.Container.dispatchEventImpl(
    at java.awt.Window.dispatchEventImpl(
    at java.awt.Component.dispatchEvent(
    at java.awt.EventQueue.dispatchEventImpl(
    at java.awt.EventQueue.access$000(
    at java.awt.EventQueue$
    at java.awt.EventQueue$
    at Method)
    at java.awt.EventQueue$
    at java.awt.EventQueue$
    at Method)
    at java.awt.EventQueue.dispatchEvent(
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(
    at java.awt.EventDispatchThread.pumpEvents(
    at java.awt.EventDispatchThread.pumpEvents(

The upload always fails when I ge to either 65% or 69% of the upload.

Thanks for the support!
Best regards,

> Date: Sun, 5 May 2013 18:10:05 +0200
> Subject: Re: FTPClient, resume an interrupted upload?
> From:
> To:
> By incrementing the keep alive timeout you should fix the issue.
> Anyway the code you posted could not work:
> * the output stream doesn't append to the file (there is a method for it)
> * the exception is probably thrown on outputStream.write, so you should try
> to write again the sa me byte array

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message