|
Home > Archive > BizTalk Server Applications Integration > January 2006 > BizTalk 2004 FTP Adaptor Trouble
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
BizTalk 2004 FTP Adaptor Trouble
|
|
| BizTalk 2004 FTP Adaptor Trouble 2006-01-09, 5:57 pm |
| We are integrating the eCommerce system with backend legacy systems.
For communicating between windows server and mainframe systems. FTP service
is used. Currently in BizTalk 2002 environment it is been handled using FTP
Application blocks. While migrating to BizTalk 2004 we planned to use BizTalk
FTP Adaptor as follows:
1. We have used a DYNAMIC send port to define time stamp generated file name:
DyNamicSendPort(Microsoft.XLANGs.BaseTypes.Address)="ftp://123.123.123.123/FileName.Ext"
2. Set Message context with required FTP parameter.
//Set context on the message you want to send:
msgOut(FTP.UserName) = "USERNAME";
msgOut(FTP.Password) = "PASSWD";
msgOut(FTP.RepresentationType)= "ASCII";
msgOut(FTP.BeforePut) = "quote site recfm=fb lrecl=500 blksize=30000";
After this we get following exception:
The "FTP" adapter is suspending an outbound message going to destination
URL:"ftp://123.123.123.123/FileName.Ext". Details:"The command "quote site
recfm=fb lrecl=500 blksize=30000" failed on the FTP server. ".
If we chnage the IP address to any existing Windows FTP server, file
processed and FTPed successfully.
It is really a weird scenario.
Any help will be highly appreaciable,
TIA,
Hemal M
| |
| BizTalk 2004 FTP Adaptor Trouble 2006-01-09, 5:57 pm |
| Tried to give dynamic port address as :
"http://USERNAME:PASSED@123.123.123.123/FileName.Ext"
But no success with this....
It will be great if anyone can help me out in this.
TIA,
Hemal M
"BizTalk 2004 FTP Adaptor Trouble" wrote:
> We are integrating the eCommerce system with backend legacy systems.
>
> For communicating between windows server and mainframe systems. FTP service
> is used. Currently in BizTalk 2002 environment it is been handled using FTP
> Application blocks. While migrating to BizTalk 2004 we planned to use BizTalk
> FTP Adaptor as follows:
>
> 1. We have used a DYNAMIC send port to define time stamp generated file name:
> DyNamicSendPort(Microsoft.XLANGs.BaseTypes.Address)="ftp://123.123.123.123/FileName.Ext"
>
> 2. Set Message context with required FTP parameter.
> //Set context on the message you want to send:
> msgOut(FTP.UserName) = "USERNAME";
> msgOut(FTP.Password) = "PASSWD";
> msgOut(FTP.RepresentationType)= "ASCII";
> msgOut(FTP.BeforePut) = "quote site recfm=fb lrecl=500 blksize=30000";
>
> After this we get following exception:
>
> The "FTP" adapter is suspending an outbound message going to destination
> URL:"ftp://123.123.123.123/FileName.Ext". Details:"The command "quote site
> recfm=fb lrecl=500 blksize=30000" failed on the FTP server. ".
>
> If we chnage the IP address to any existing Windows FTP server, file
> processed and FTPed successfully.
>
> It is really a weird scenario.
>
> Any help will be highly appreaciable,
>
> TIA,
> Hemal M
|
|
|
|
|