on 01-18-2008 6:32 AM
Hello Experts,
I want to pick some files from a FTP server in a File to Idoc scenario. The files in the Ftp Server are created with the filenames as timestamp of the file when it was created. How do I pick up these files?
Thanks,
Merrilly
The file name that is getting generated is only the timestamp or is it suffixed/prefixed by any other string?
Lets assume its only the timestamp .
Write follwoing your file name : * 2008 *.xml. As the time stamp starts with year. In this case this scenario will work only for this year(2008).
Revert back if you need any more help.
Regards.
Jeet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For example your file name is "TestFile_20080118_12:30". So what you need to do in your CC is just write "TestFile_*.txt"
or "TestFile_*.xml". It will pick all the files.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The above masking concept (*.txt, . etc) will be applicable for the files with NFS only,
See the below link to apply it
/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
The below link will help you to build up the adapter module to read the dynamic file name
This could be applicable for FTP ...
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you just mention *.extension (ex: *.txt) in your channel, the file will be picked up.
Regards,
Divija.
Edited by: Divija KN on Jan 18, 2008 7:51 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.