on 07-08-2008 9:25 AM
Hi,
I have to read a file always with the same name but it can be in different directories.
For example:
FTPHome/Folder1/file.txt
FTPHome/Folder2/file.txt
I've tried to define a mask for path name but it doesn't work:
Something like this /FTPHome/Folder*/
It's possible to do that what I'm trying
to be honest I don't know how to do this with a mask..
but you can have multiple adapters polling the different directories. You can also keep the same interface and sender for each. Even use the same receiver determination.
You just make separate sender agreements for your comm channels and then in the receiver field enter anyname. This way you can use all of the same information and objecvts you already created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sudharshan nice... indeed you are right! You learn something everyday
Advanced Selection for Source File
If you want to set an exclusion mask for the File Name specified above, or if you want to specify multiple directories using a file name mask and exclusion mask, set the Advanced Selection for Source Fileindicator.
○ Specify an Exclusion Mask for the file name specified above.
You want to process all files that have the extension '.txt', but want to exclude all files that begin with the letter 'a'. To do this, enter .txt for File Name, and a for Exclusion Mask.
○ You can enter additional specifications for source directories, file names, and exclusion masks in the table. This data is processed in addition to the details specified above.
Edited by: Alex on Jul 8, 2008 11:11 AM
Hi Marshal,
If the folders from which you want the file to be picked up is fixed,then you can mention it in the File Access parameters in the Sender Communication channel.
You can mention the source directory and filename in the Sender communication channel.Then check the Advanced selection for Source File check box.Now you can list the directory names and the filenames which you want the sender channel to poll for.
Hope this helps.
Thanks and Regards,
Induja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.