BatchSFTP File Rename Fails (Doc ID 1025647.1)

Last updated on FEBRUARY 10, 2012

Applies to:

Oracle Java CAPS - Version: 5.1.0 and later   [Release: 5.1 and later ]
Information in this document applies to any platform.
***Checked for relevance on 10-Feb-2012***

Symptoms

BatchSFTP fails the post-transfer "rename" when a file with the same destination name already exists. This will cause the BatchSFTP GET() API to fail.

The ERROR you may seen:
--------------------------------
2007-07-27 17:17:38,544 ERROR [Thread-4] [STC.eGate.CMap.Collabs._1242342.Service2.SFTPTest.SFTPTest] [] === === Error in jcdHealtheBrowseControl - receive()
2007-07-27 17:17:38,544 INFO [Thread-4] [STC.eGate.CMap.Collabs._1242342.Service2.SFTPTest.SFTPTest] [] Exception when rename(oldPath, newPath), oldPath=/In\SSDC_A.837 newPath=/In/SSDC_A_processed
2007-07-27 17:17:38,544 INFO [Thread-4] [STC.eGate.CMap.Collabs._1242342.Service2.SFTPTest.SFTPTest] [] === === Exiting: jcdHealtheBrowseControl - receive()


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms