Symptom
- iFlow accessing multiple files from an SFTP directory processes only one file per poll.
- Each iFlow execution processes only one file.
- SSHD logs from the SFTP server appear as follows:
<timestamp><host name> sshd[<ID>]: Accepted publickey for <username> from <IP address> port <port number> ssh2: <SSH public key fingerprint>
<timestamp><host name> systemd[1]: Started Session <session ID> of user <username>.
<timestamp><host name> systemd-logind[<ID>]: New session <session ID> of user <username>.
<timestamp><host name> sshd[26858]: pam_unix(sshd:session): session opened for user <username> by (uid=0)
<timestamp><host name> sftp-server[<process ID>]: session opened for local user <username> from [<IP address>]
<timestamp><host name> sftp-server[<process ID>]: opendir "directory's absolute path"
<timestamp><host name> sftp-server[<process ID>]: closedir "directory's absolute path"
<timestamp><host name> sftp-server[<process ID>]: open "<directory's absolute path/name of file #1>" flags READ mode 0666
<timestamp><host name> sftp-server[<process ID>]: close "<directory's absolute path/name of file #1>" bytes read 16772 written 0
<timestamp><host name> sftp-server[<process ID>]: remove name "<directory's absolute path/name of file #1>"
<timestamp><host name> sftp-server[<process ID>]: opendir "directory's absolute path"
<timestamp><host name> sftp-server[<process ID>]: closedir "directory's absolute path"
<timestamp><host name> sftp-server[<process ID>]: open "<directory's absolute path/name of file #2>" flags READ mode 0666
<timestamp><host name> sftp-server[<process ID>]: close "<directory's absolute path/name of file #2>" bytes read 16772 written 0
<timestamp><host name> sftp-server[<process ID>]: remove name "<directory's absolute path/name of file #2>"
<timestamp><host name> sftp-server[<process ID>]: opendir "directory's absolute path"
<timestamp><host name> sftp-server[<process ID>]: closedir "directory's absolute path"
... - The directory's absolute path is very long.
- iFlow accessing directory with shorter name is able to process multiple files in one execution.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- Cloud Integration
- SFTP
Keywords
LOD-HCI-PI-CON-FTP, SFTP, file, directory name, iFlow , KBA , LOD-HCI-PI-CON-FTP , FTP, SFTP and SOAP Adapter , Known Error
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview