cancel
Showing results for 
Search instead for 
Did you mean: 

FTP/File Adapter Polling issue

Former Member
0 Kudos

My technical team has informed me that our File/FTP adapter is generating several entries a second in a logging file on our sender system. This file logs who has logged onto the server.

The ftp/file adapters that are configured (2) are set to poll at intervals of 600 seconds and 14400 seconds.

At the moment, I have had to set the adapters as inactive to stop this file growing in size. I was expecting a connection every ten minutes, and one every four hours.

What would cause this to happen every second?

is there a trace file I could check to see what is causing this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Barry,

Look in the configuration of your File communication channel, under FTP connection parameters; whether you have connect mode Permanently or per File Transfer.

If you have chosen for Permanently then the adapter will continuously create multiple logs in your FTP server.

Cheers,

Roberto

Former Member
0 Kudos

Thanks for your prompt reply, but they were already set to Per File Transfer.

Former Member
0 Kudos

I have logged a note with SAP regarding this issue.

Apparently is due to the Solaris FTP Server.

It is returning a cannot find *.csv instead of returning nothing.

SAP recommend changing the settings, although I have been informed that we can't do this on the Solaris FTP.

We may have to find a different FTP Server, or try installing NFS on the windows box.

Response from SAP

your FTP server does not comply with the FTP 
iprotocol specification (RFC959) with regards to ts "NLST" command implementation, whose spec
reads:

"NAME LIST (NLST)

This command causes a directory listing to be sent from
server to user site. The pathname should specify a
directory or other system-specific file group 
descriptor; a null argument implies the current 
directory. The server will return a stream of names of files and no other information. The data will be transferred in ASCII orEBCDIC type over the data connection as valid pathname strings separated by <CRLF> or <(><<)>(><<(><<)>)>NL>. (Again the user
must ensure that the TYPE is correct.) This command is 
intended to return information that can be used by a 
program to further process the files automatically. For 
example, in the implementation of a "multiple get" function."

However, your FTP server returns a human-readable error 
message instead when no files match the pattern (the 
channel's file name mask) provided to the NLST command, 
which is - in compliance with RFC 959 - interpretedas a 
file name (C identifies the control connection, D the 
data connection):

-- 8< --
C> PASV
C< 227 Entering Passive Mode (172,16,33,170,164,152)
C> NLST *.csv
C< 150 Binary data connection for /bin/ls (172.16.39.5,2433) 
(0 bytes).
D< *.csv: No such file or directory
C< 226 Binary Transfer complete.
-- 8< --

This is the line causing the problems:
"*.csv: No such file or directory"

This has the negative side-effect that the File Adapter polls very frequently.

The root cause is the incorrect reply of your FTP 
server, so there is nothing we can do about this. Please contact your FTP server vendor to obtain a correction for your FTP server implementation.

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Hi,

I think if you use NFS , the problem will be solved.

And other option is i.e already discussed about "Per File Transfer"..

Regards,

Moorthy

Former Member
0 Kudos

We are using Windows 2003 and my technical team are concerned about the lack of security surrounding NFS.

Has anyone successfully configured NFS for NT?

I'm more concerned about the Solaris FTP Engine not actually working with XI.... Has anyone else successfully utilised FTP and Solaris 8?