java.net.SocketException: Software caused connection abort: > socket > write error > > * > > A cut down version of the code is as follows ... > > try { > FTPClient ftpClient = new FTPClient(); > FTPClientConfig ppFTPServerConfig = new FTPClientConfig(); > ftpClient.configure(ppFTPServerConfig); > ftpClient.connect(ftpServerName); > ftpClient.login(ftpServerUsername, ftpServerPassword); > > int reply = ftp.getReplyCode [1](); > > if (!FTPReply.isPositiveCompletion(reply)) { > > System.out.println(ftpClient.listFiles()); > > } > } catch (Exception e) { > e.printStackTrace(); > } > > The code fails with the above exception when trying to list the files. > > Any ideas? I'm stumped > > Many thanks in advance for any comments. > > > > * > SEVERE: java.net.SocketException: Software caused connection abort: > socket > write error >

Oracle Community | kytie | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Using Apache Commons FTP Client With GlassFish 3.1.2

    Oracle Community | 5 years ago | kytie
    java.net.SocketException: Software caused connection abort: > socket > write error > > * > > A cut down version of the code is as follows ... > > try { > FTPClient ftpClient = new FTPClient(); > FTPClientConfig ppFTPServerConfig = new FTPClientConfig(); > ftpClient.configure(ppFTPServerConfig); > ftpClient.connect(ftpServerName); > ftpClient.login(ftpServerUsername, ftpServerPassword); > > int reply = ftp.getReplyCode [1](); > > if (!FTPReply.isPositiveCompletion(reply)) { > > System.out.println(ftpClient.listFiles()); > > } > } catch (Exception e) { > e.printStackTrace(); > } > > The code fails with the above exception when trying to list the files. > > Any ideas? I'm stumped > > Many thanks in advance for any comments. > > > > * > SEVERE: java.net.SocketException: Software caused connection abort: > socket > write error >
  2. 0

    Ftp File download From java code

    Stack Overflow | 5 years ago | nomee.tec
    java.net.SocketException: Software caused connection abort: socket write error
  3. 0

    java ftp file upload

    Stack Overflow | 6 years ago | user373201
    java.net.SocketException: Software caused connection abort: socket write error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am having difficulties deploying a Java FX 2.0 app

    Stack Overflow | 5 years ago | Artur G Vieira
    java.net.SocketException: Connection reset by peer: socket write error
  6. 0

    SolarAnalyzer-Forum • Thema anzeigen - hyperion - raspberry - BROKEN PIPE

    solaranalyzer.de | 2 years ago
    java.net.SocketException: Broken pipe

  1. poroszd 3 times, last 4 weeks ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Software caused connection abort: > socket > write error > > * > > A cut down version of the code is as follows ... > > try { > FTPClient ftpClient = new FTPClient(); > FTPClientConfig ppFTPServerConfig = new FTPClientConfig(); > ftpClient.configure(ppFTPServerConfig); > ftpClient.connect(ftpServerName); > ftpClient.login(ftpServerUsername, ftpServerPassword); > > int reply = ftp.getReplyCode [1](); > > if (!FTPReply.isPositiveCompletion(reply)) { > > System.out.println(ftpClient.listFiles()); > > } > } catch (Exception e) { > e.printStackTrace(); > } > > The code fails with the above exception when trying to list the files. > > Any ideas? I'm stumped > > Many thanks in advance for any comments. > > > > * > SEVERE: java.net.SocketException: Software caused connection abort: > socket > write error >

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    BufferedWriter.flush
    1. java.net.SocketOutputStream.socketWrite0(Native Method)
    2. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
    3. java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    4. sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
    5. sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
    6. sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
    7. sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
    8. java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    9. java.io.BufferedWriter.flush(BufferedWriter.java:254)
    9 frames