on 2020 Apr 03 2:23 PM
HI Experts,
I want to transfer files from NFS to SFTP server
I am facing issue in file transfer during file name parameter.
I used ASMA in my both sender and receiver channels with FileName checked
My files are txt and excel files and I gave
1. *.* in my source File name as I want all the files placed in the folder to be picked
and tried many options in target file name parameter like
FileName , %FileName% , .* Also but I couldnot transfer files as the error say "%FileName%" already exists.
My FileName formats will be Ex. ABCD.123 and 123456.789
Please suggest me what will be my filename parameters in sender and receiver channels.
Thanks
Hi!
It's worth mentioning that SFTP adapter uses namespace for ASMA attributes - "http://sap.com/xi/XI/System", while File adapter uses "http://sap.com/xi/XI/System/File" namespace. Change ASMA attributes namespace accordingly in SFTP channel settings.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Once again:
Sender file channel puts file name to ASMA attribute "FileName" having namespace "http://sap.com/xi/XI/System/File". Receiver SFTP channel tries to read value from ASMA attribute "FileName" with namespace "http://sap.com/xi/XI/System" (according to your current settings). Are you still sure, that's correct? Or you should change namespace to "http://sap.com/xi/XI/System/File" for your SFTP channel?
Regards, Evgeniy.
Hi Evgeniy,
Do you mean I have to change my Receiver SFTP channel namespace to "http://sap.com/xi/XI/System/File" . However my Receiver SFTP channel has namespace as "http://sap.com/xi/XI/System" in ASMA now as mentioned in your previous answer. My sender channel has ASMA with this sender-file-channel.jpg
Thanks.
Hi!
Yes, in order to read file name from sender channel, SFTP channel needs to refer to the same ASMA atrribute, which contains that name - "FileName" attribute belonging to "http://sap.com/xi/XI/System/File" namespace (since it has been filled by File channel).
Regards, Evgeniy.
User | Count |
---|---|
68 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.