cancel
Showing results for 
Search instead for 
Did you mean: 

Error in FTP adapters while picking up files with wildcard

Former Member
0 Kudos

Hi Gents

We are on XI 3.0 SP23 and we have configured a ftp adapter with the following properties :

*****************************************************************************************************************

File Access parameters :

Source directory : A unix folder path

File name : SALES.xml

No use of advanced selection

FTP connection parameters :

Data connection : Passive

Userid and password specified to logon to FTP server

Connection mode - Permanent

Transfer mode is text

Processing parameters :

QOS : Exactly once

Poll interval : 60 secs

Processing mode : Archive

Archive directory specified, archiving files on FTP server

Empty file handling - Do not create message

File type binary

Adapter specific Message attributes : file name is being retrieved into the message header

**********************************************************************************************************

However, when polling - whenever the file with the above mentioned patter is present in the folder, it gets picked up without any issues. If no file with the pattern exists on the ftp server, we are getting a error message every minute ( polling interval ) :

Could not process file '.SALES..xml: No such file or directory ': com.sap.exception.standard.SAPIllegalArgumentException: The parameter "argument" has the value "ftp://ipaddress:21/SAP_FTP/XXXXXX/XXXXXXXXX/.RETURNS..xml: No such file or directory ", so it contains the character "" which is not allowed*

Where are we going wrong here ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

In your Processing parameters :

"File type binary" also change to text.

let us know if still same problem.

Liang

Former Member
0 Kudos

Hi

I changed the file type to text and getting the error

Could not process file '.SALES.xml: No such file or directory ': com.sap.excep

Former Member
0 Kudos

Your File name schema seems have problem, you have additonal dot.

'.SALES.xml

Liang

Former Member
0 Kudos

I get the same error after I removed the dots and just used the wildcard in the file name

Could not process file 'SALESxml: No such file or directory ': com.sap.excep

Former Member
0 Kudos

Do not put 'SALESxml just try with SALES*.xml

Former Member
0 Kudos

SAP came back through an OSS ticket and indicated that the RFC 959 protocol is not being supported by the ftp server in question.

Shabarish_Nair
Active Contributor
0 Kudos

try giving

SALES*.xml as your file scheme and try

Former Member
0 Kudos

try giving connect mode = per file transfer

Former Member
0 Kudos

Hi

We need to poll for a wildcard in the filename on both sides with the string SALES appearing in the filename somewhere in between. But , to try - I changed the filename to SALES*.xml and also set the Connect mode to per file transfer and getting the following error now

Could not process file 'SALES.*.xml: No such file or directory ': com.sap.except