Valentina,

I have seen cases where the server will delete files after being touched by
the list(S)FTP processor, so if the fetch processor isn't fast enough it
gets deleted and causes that issue. If the file really does still exist on
the server then I would try a simple retry loop and see if a second attempt
is successful.

On Wed, Aug 12, 2020 at 8:08 AM Valentina Ivanova <valentina.ivan...@ri.se>
wrote:

> Hi all!
>
> I am retrieving files thousands of files with FetchSFTP and from time to
> time (say 1 per 10 min) I receive the following error.
>
> FetchSFTP[id=e19a32eb-f9c6-13a0-38b4-45a726ec4273] Failed to fetch content
> for
> StandardFlowFileRecord[uuid=82f316a2-f797-4d32-8aa8-3d1907b54e01,claim=StandardContentClaim
> [resourceClaim=StandardResourceClaim[id=1597232401901-271,
> container=default, section=271], offset=515807,
> length=8690914],offset=8630853,name=1576278001264,size=109] from filename
> [FILENAME] on remote host xxx.xxx.xxx.xxx:xxx due to java.io.IOException:
> Failed to obtain file content for [FILENAME]; routing to comms.failure:
> java.io.IOException: Failed to obtain file content for [FILENAME]
>
> The files are all there and are similar in size and content to the others
> successfully fetched. Any idea what the problem could be?
>
> Thanks & best
>
> Valentina
>

Reply via email to