![]() ![]() |
XIB 2.1.1: Keep filename when receiving a file with XFB Connector |
Nov 11 2009, 03:31 PM
Post
#1
|
|
|
Contributor ![]() ![]() Group: Members Posts: 12 Joined: 6-November 08 Member No.: 77 |
Hello
I'm retreiving a file in Gateway and routing it to XIB, XIB receives it with the XFB Connector. When the file is received in XIB the filename has changed from the "real" filename, I can see that it is available in the attribute, but is it really necessary to write an MBC that sets the filename from the attribute? Are there any settings in Gateway that keeps the original filename? |
|
|
|
Nov 11 2009, 03:41 PM
Post
#2
|
|
|
Group: Members Posts: 31 Joined: 6-November 08 Member No.: 82 |
Hello I'm retreiving a file in Gateway and routing it to XIB, XIB receives it with the XFB Connector. When the file is received in XIB the filename has changed from the "real" filename, I can see that it is available in the attribute, but is it really necessary to write an MBC that sets the filename from the attribute? Are there any settings in Gateway that keeps the original filename? Hi Walles, As far as I know you have to write an MBC that extracts the filename from the attribute CODE $xfbAllAttribute = TA_XFB.UnpackAllReceiveInfoAttribute($AttributeValue); $Filename = $xfbAllAttribute.$FileName; and then set, for example, the following attribute: CODE # Set the filename for outgoing FTP Transfers $ftpOverrideAttribute.$Use_RemoteFilename = $TRUE; $ftpOverrideAttribute.$RemoteFilename = $Filename; I hope this helps. Greetings, Rob |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
Lo-Fi Version | Time is now: 30th July 2010 - 01:14 PM |
Skin designed by IPB Forum Skins
Expand / Collapse Navigation



Nov 11 2009, 03:31 PM




