SFTP ERROR #7511: SFTP Error '4': SFTP Error [80102004]: Operation Failed [80102004]
Hi all,
We are delivering files to SFTP server using EnsLib.FTP.PassthroughOperation class and EnsLib.FTP.OutboundAdapter. But we are facing error below:
ERROR <Ens>ErrFTPPutFailed: FTP: Failed to Put file '' (msg='Error in SFTP Put('/cachesys/mgr/Temp/HC4IZVmI6w9gEw.sftp','/directory1/directory2/directory3/') ERROR #7511: SFTP Error '4': SFTP Error [80102004]: Operation Failed [80102004] at SFTP.cpp:750,0',code=0).
The SFTP settings is as follows:
Basic settings:
|
|||||||||
|
SFTP Append Mode
|
|
SFTP Public Key File | |
SFTP Private Key File | |
SFTP File Access Mode |
SSL Configuration
|
|||
UsePASV
|
|||
Stay Connected | |||
Connect Timeout |
Please advise. Thanks so much
Maybe a "stupid" answer
But
You need perhaps to specify "/directorya/directoryb" without the slash.
I have checked where I am working with have around 10 ftp connections and all specifications without the slash.
Thanks Michel,
The reason is that the directory permission is not setup correctly. Will close the post.
I know this is old and doesn't quite apply to your situation, but you can also get this error if you use the File Name setting: %f. I ran into an issue where the DTL 'copy' function wasn't working so the Ens.StreamContainer's OriginalFilename property wasn't copied and it would give this error because the File Name was blank/null.