Yes Pierre, i make the manual test of moving the file using the same user. The strange Thing with the processor : the file is pulled just not moved.
Carlos From: Pierre Villard [mailto:[email protected]] Sent: sexta-feira, 20 de outubro de 2017 12:21 To: [email protected] Subject: Re: FetchSftp with user/password dont move the file Hi Carlos, Is the user allowed to move the file on the FTP server? Are the permissions on the file correct? Pierre 2017-10-20 12:07 GMT+02:00 Carlos Manuel Fernandes (DSI) <[email protected]<mailto:[email protected]>>: Hi, I configured a fetchSftp with username/password (no privatekey for certificate) and the processor is able to fetch the file but gives an error when try to move the file. Apparently to move the file the processor try use authentication with certificate, not user/pwd. I’m using NIFI 1.30. This is the warning: WARN [Timer-Driven Process Thread-2] o.a.nifi.processors.standard.FetchSFTP FetchSFTP[id=1dce6844-015d-1000-9ddf-513c44ecb93f] Successfully fetched the content for StandardFlowFileRecord[uuid=bd37a9c5-7345-4305-9044-befd2e025b0a,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1508492612055-61, container=default, section=61], offset=4282, length=25699415],offset=0,name=xxx.xxx,size=25699415] from host:22/batch/cdirect/in/xxx.xxx but failed to rename the remote file due to java.io.IOException: Failed to obtain connection to remote host due to com.jcraft.jsch.JSchException: Auth cancel: tks Carlos
