on 2019 May 08 4:40 PM
Hi Experts,
I am trying to get the SFTP file but i am facing some issues. Actually my file name looks like- Filename_fromdate_todate.csv. So, by using the groovy script i am getting the fromdate(Currentdate-2), todate(Current date-1) and setting those 2 variables in properties. Then i am using those properties in SFTP adapter file name like Filename_${property.fromdate}_${property.todate}.csv; So, i am using the Request-Reply for this adapter. But i am ggetting error as Request-Reply2 is not supported for the adapter. Can you suggest me on how to achieve this? I tried with Send as well. But no luck. error-sftp.png
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Yogendra,
As I could see in your script a ";" char is missing in the "def today = new Date()" row.
Can you fix that and check if the issue will remain?
Thanks.
Cheers.
Robson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
54 | |
10 | |
8 | |
6 | |
5 | |
5 | |
5 | |
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.