Announcement Announcement Module
Collapse
No announcement yet.
handling exception during file transfer Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • handling exception during file transfer

    Hi,

    I'm doing file transfer using the sftpSessionFactory(sftpoutbound channel adapter),
    I would like to know if the exact root cause of failure of file transfer can be obtained.

    For example:, this is the error message I'm seeing., this could be because of permission to write into the directory,invalid username,or password,or cannot create a directory.Though I'm having a printstacktrace,I'm not able to get the exact root cause of failure.
    Please let me know how to achieve this.

    Code:
    Failed to transfer file [/tmp/PM15MinData/pm15.12-09-28-12-31-41-675.zip] from local working directory to remote FTP directory.
        error occurred in message handler [org.springframework.integration.file.remote.handler.FileTransferringMessageHandler#2]
        Failed to transfer file [/tmp/PM15MinData/pm15.12-09-28-12-31-41-675.zip] from local working directory to remote FTP directory.
    thanks
Working...
X