Spring Integration
  1. Spring Integration
  2. INT-1704

FileTransferringMessageHandler passes file name instead of file path when it attempts to rename the file after its been uploaded.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Adapters
    • Labels:
      None

      Description

      In the cases where remote-directory is user's home directory it causes no issues, however if remote-directory points to a non-home directory, then the renamed file is actually saved in the home directory instead of the remote-directory specified.

        Issue Links

          Activity

          Hide
          Oleg Zhurakousky added a comment -

          The call to rename was changed to

          session.rename(remoteFilePath, remoteDirectory + fileName);
          
          Show
          Oleg Zhurakousky added a comment - The call to rename was changed to session.rename(remoteFilePath, remoteDirectory + fileName);

            People

            • Assignee:
              Oleg Zhurakousky
              Reporter:
              Oleg Zhurakousky
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: