Menu

#38 Returncode "452 Transfer aborted. No space left on device" not validated

v1.0_(example)
closed-fixed
nobody
5
2016-02-25
2015-09-15
No

The reply in the Log is not validated:

[org.ftp4che.io.ReplyWorker] (EJB async - 48) Adding line to result list -> 452 Transfer aborted. No space left on device

A fxpFile call seems to be successful but size of the file is 0 bytes.
I added the validation to the last reply of source and destination to fix the problem:

     // read the last control reply from destination
    if (storeReply.getLines().size() == 1) {
      try {
        Reply lastDestinationReply = ReplyWorker.readReply(destination.socketProvider);
        lastDestinationReply.dumpReply();
        lastDestinationReply.validate();
      }catch(IOException ioe) {
        destination.setConnectionStatus(ERROR);
        destination.disconnect();
        throw ioe;
     }

Discussion

  • Arnold Maderthaner

    fixed in 1.0

     
  • Arnold Maderthaner

    • status: open --> closed-fixed
     

Log in to post a comment.