on 06-18-2015 8:05 AM
Hello guys,
I have the following Problem with SFTP Sender Adapter:
I want to pull files from an external Server every day the same time. The file has a timestamp in the filename. The Problem is that in this Directory there are files from the last six weeks with timestamp.
How can I select just the most current file ? Is there a way to use a dynamic Filename?
Thanks a lot already for your help.
Regards Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Just look for any filename pattern that we can give in the channel to pick up the file.
Other way is that you could ask the server contact person, to move the past file to some other directory on the server, if they don't have any business impact/processing on those.
Also, what is the post file processing you are using in the channel.
Regards
Vishnu
Hi Experts,
I have the requirement to do the same in SAP CPI. Can you tell me how to pick the file with current date. I am trying to pick like-> Myfilename_${date:now:yyyy-MM-dd}.csv ; But it is not picking up. Could you please suggest how to do this?
Regards,
Imran
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 |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.