My Oracle Support Banner

Oracle API Gateway SFTP Poller Unable To Remove Files. (Doc ID 2124829.1)

Last updated on OCTOBER 10, 2022

Applies to:

Oracle API Gateway - Version and later
Information in this document applies to any platform.


Using Oracle API Gateway (OAG) Version
An SFTP poller has been defined on the gateway and this poller is unable to remove files, even though the flag to delete the files after processing has been set.

The following error is seen in the trace file for the gateway:

DEBUG [<THREAD ID>] Caught an exception, leaving main loop due to Socket closed
ERROR [<THREAD ID>] FTP Poller 'SFTP' - error processing file <FILENAME>: Failed to remove '<FILENAME>'
  at com.vordel.fileservice.client.SFTPSession.remove(
  at com.vordel.dwe.ftp.FTPScanner$
Caused by: 1:
  at com.jcraft.jsch.ChannelSftp.throwStatusError(
  at com.jcraft.jsch.ChannelSftp.rm(
  at com.vordel.fileservice.client.SFTPSession.remove(
  ... 1 more

As the poller does not delete files after processing them, it will pull the same file over and over.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.