cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter (file name) Wild Card * not working

Former Member
0 Kudos

hi i had configured File -> XI -> File Scenario.

but in my Sender file adapter ...

file naming = *TRC,

it is not picking the file. If i specify the whole name of any test file ( 10023.TRC), than only it executing sucessfully..

1. i am using FCC .

2. FTP message protocal is used...

my requirment is only to pick those files having .TRC extension.

i tried a lot options and refered sap notes , FAQ file adapter etc

But still the problems is not solving...

I am having X 3.0 SP16.

Regards

ajay

Edited by: ajay on Jan 3, 2008 10:58 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If *.trc is not working then you can give a try for this..

you can write File Name Schema as ????????.trc

one ? for each character in filename.

Former Member
0 Kudos

THANKS Mugdha Thanks alot

????????.TRC is working sucessfully.

Problem solved.

full point to madem

But i am not getting the logic behind this ... strange issue..

have u faced it earlier...

Regards

ajay Pant

Former Member
0 Kudos

This is very strange!!!

'?' is wildcard for one single character. If it works, '*' would work to...

maybe there is a problem with charset in your system... is your system unicode?

regards.

roberti

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ajay,

Filename "*TRC" will not work...

For dynamic filname at sender side, You have to use "Advanced Selection for source file" in sender communication channel. Specify the directory and "TRC" will be used in Exclusion Mask...

Hope this is helpful..

Regards,

Pooja

Former Member
0 Kudos

Pooja and Amitanshu, it seems not to be true.

I have just tested it here and *ASD.TXT, *.TXT or *TXT works perfect to me.

What could be occurring is your file content conversion is not matching what is in the file. For example, you are trying to read one line and split 50 characters in some fields, but in the file the line does not have 50 characters... Try checking if something like this is happening.

regards.

roberti

Former Member
0 Kudos

Dear All

i tried all the option including " advanced selection for source file", but still nothing is working..

in above parameters for file name, directory i specified <NOTHING> in both as mention in blog.

i specified as :

Durectory File Name Mask

/data/ *.TRC

it not solving my problem.

Regards

Ajay

Former Member
0 Kudos

Daer Waldemar Roberti

I know that *.TRC should work,in my previous interface i had used these options sucessfully.

and my file is getting picked sucessfully if i mention the exact file name of any test file

for ( ex: 11034.TRC) is processed sucessfully end to end.

as mention in first post

so i do'nt think so FCC is an issue...

Regards

Ajay Pant

Edited by: ajay on Jan 3, 2008 11:29 AM

Former Member
0 Kudos

another hint...

check if you have any other file in the source directory that matches the mask you are using. If yes, check if those files are compliant with your fcc too... or move those files to another directory and keep there only this one you said is working fine.

regards.

roberti

Former Member
0 Kudos

Not at all, directory contain only .TRC test file.

Regards

Ajay

Former Member
0 Kudos

Hi Ajay,

Use file naming = *.TRC,

You will have to mention dot . in the filename.

Regards,

Amitanshu

GabrielSagaya
Active Contributor
0 Kudos

Hi

Specify source directory as <NOTHING>

Specify source filename as <NOTHING>

In the file adapter -> adavance selection for source file indicator -> specify Directory name for file name -> *.trc

please visit the blog

/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter

choose the first option.

Former Member
0 Kudos

Hi,

just a hint: maybe the "TRC" is in lower case at file names...

regards

roberti

Former Member
0 Kudos

Thx But i too tried this , *.trc it is not working..

any more clues..

Regards

ajay