Question
· Oct 2, 2019

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:

External Registry ID

FTP Server

FTP Port

Credentials

File Path

File Name

 

 SFTP Settings

SFTP Append Mode
SFTP Public Key File

SFTP Private Key File

SFTP File Access Mode

 Connection Settings

SSL Configuration

UsePASV

 

Stay Connected

Connect Timeout

 

Please advise. Thanks so much

Discussion (3)0
Log in or sign up to continue

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.