java.io.IOException: File could not be renamed from: TESTFILE/TEST.a to: TESTFILE/TEST

Oracle Community | Junaid Ahmed | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception is coming when writing file on FTP through Business Service

    Oracle Community | 2 years ago | Junaid Ahmed
    java.io.IOException: File could not be renamed from: TESTFILE/TEST.a to: TESTFILE/TEST

    Root Cause Analysis

    1. java.io.IOException

      File could not be renamed from: TESTFILE/TEST.a to: TESTFILE/TEST

      at com.bea.wli.sb.transports.ftp.resource.FTPResource.renameToUniqueFilePath()
    2. com.bea.wli
      FTPTransportProvider.sendMessageAsync
      1. com.bea.wli.sb.transports.ftp.resource.FTPResource.renameToUniqueFilePath(FTPResource.java:1962)
      2. com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessage(FTPTransportProvider.java:415)
      3. com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessageAsync(FTPTransportProvider.java:306)
      3 frames
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor672.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2 frames