BizTalk Server General - FTP Dynamic Send Port | How to change username and password?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2006 > FTP Dynamic Send Port | How to change username and password?





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 FTP Dynamic Send Port | How to change username and password?
Sachin Surana

2006-03-16, 5:51 pm

I have a dynamic send port. Can I

a. Change the transport type dynamically i.e sometimes I send the message
using FTP protocol and at other times using HTTP protocol

b. Each transport type has different properties for example FTP has username
and password where as FILE transport type does not have. So how to set custom
properties for each protocol.

I could find only one property i.e Microsoft.XLANGs.BaseTypes.Address of the
port that can be changed. But how to change other properties.
Anirudha Vengurlekar

2006-03-16, 5:51 pm

FOR FTP:

OutputMessage(FTP.AfterPut) = sFTP_After_Put;
OutputMessage(FTP.BeforePut)=sFTP_Before_Put;
OutputMessage(FTP.Password) = sFTP_Password;
OutputMessage(FTP.RepresentationType) = sFTP_RepresentationType;
OutputMessage(FTP.UserName) = sFTP_UserName;

DynamicSendPort(Microsoft.XLANGs.BaseTypes.Address)=slTransportAddress;

Similar technique for other adapters ....

Hope this will help you.

Thanks,
Ani

"Sachin Surana" wrote:

> I have a dynamic send port. Can I
>
> a. Change the transport type dynamically i.e sometimes I send the message
> using FTP protocol and at other times using HTTP protocol
>
> b. Each transport type has different properties for example FTP has username
> and password where as FILE transport type does not have. So how to set custom
> properties for each protocol.
>
> I could find only one property i.e Microsoft.XLANGs.BaseTypes.Address of the
> port that can be changed. But how to change other properties.

Sachin Surana

2006-03-17, 2:53 am

Hi Anirudha,

Thanks for your answer. I made similar changes but get a compilation error.
Which of the available shapes (from BTS toolbox) should be used to make the
changes to the message?

Should 'Message Assignment' shape be used?

Thanks,
Sachin

"Anirudha Vengurlekar" wrote:
[vbcol=seagreen]
> FOR FTP:
>
> OutputMessage(FTP.AfterPut) = sFTP_After_Put;
> OutputMessage(FTP.BeforePut)=sFTP_Before_Put;
> OutputMessage(FTP.Password) = sFTP_Password;
> OutputMessage(FTP.RepresentationType) = sFTP_RepresentationType;
> OutputMessage(FTP.UserName) = sFTP_UserName;
>
> DynamicSendPort(Microsoft.XLANGs.BaseTypes.Address)=slTransportAddress;
>
> Similar technique for other adapters ....
>
> Hope this will help you.
>
> Thanks,
> Ani
>
> "Sachin Surana" wrote:
>
Anirudha Vengurlekar

2006-03-17, 5:52 pm

yes please use Message Assignment shape

"Sachin Surana" wrote:
[vbcol=seagreen]
> Hi Anirudha,
>
> Thanks for your answer. I made similar changes but get a compilation error.
> Which of the available shapes (from BTS toolbox) should be used to make the
> changes to the message?
>
> Should 'Message Assignment' shape be used?
>
> Thanks,
> Sachin
>
> "Anirudha Vengurlekar" wrote:
>
vicvanhalen

2006-08-02, 5:17 pm

I have a similar scenario as the one discussed here, but the one thing I cannot figure out is how to specify a subfolder within the FTP site.

For instance, if I assign the following direct FTP port:

portSendFTP(Microsoft.XLANGs.BaseTypes.Address) = "ftp://foo.com"

everything works fine. However,

portSendFTP(Microsoft.XLANGs.BaseTypes.Address) = "ftp://foo.com/subfolder"

will fail. I tried playing with the beforeput/afterput attributes, but had no luck. Can anyone help me?

Thanks,

Vic


quote:
Originally posted by Anirudha Vengurlekar
yes please use Message Assignment shape

"Sachin Surana" wrote:
[vbcol=seagreen]
> Hi Anirudha,
>
> Thanks for your answer. I made similar changes but get a compilation error.
> Which of the available shapes (from BTS toolbox) should be used to make the
> changes to the message?
>
> Should 'Message Assignment' shape be used?
>
> Thanks,
> Sachin
>
> "Anirudha Vengurlekar" wrote:
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com