FTP Dynamic Send Port | How to change username and password?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > FTP Dynamic Send Port | How to change username and password?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    FTP Dynamic Send Port | How to change username and password?  
Sachin Surana


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-16-06 10: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 custo
m
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.





[ Post a follow-up to this message ]



    RE: FTP Dynamic Send Port | How to change username and password?  
Anirudha Vengurlekar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-16-06 10: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 userna
me
> and password where as FILE transport type does not have. So how to set cus
tom
> properties for each protocol.
>
> I could find only one property i.e Microsoft.XLANGs.BaseTypes.Address of t
he
> port that can be changed. But how to change other properties.





[ Post a follow-up to this message ]



    RE: FTP Dynamic Send Port | How to change username and password?  
Sachin Surana


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-17-06 07: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:
> 





[ Post a follow-up to this message ]



    RE: FTP Dynamic Send Port | How to change username and password?  
Anirudha Vengurlekar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-17-06 10: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 th
e
> changes to the message?
>
> Should 'Message Assignment' shape be used?
>
> Thanks,
> Sachin
>
> "Anirudha Vengurlekar" wrote:
> 





[ Post a follow-up to this message ]



vicvanhalen is offline     How to change the subdirectory  
vicvanhalen


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for vicvanhalen Click here to Send vicvanhalen a Private Message Find more posts by vicvanhalen Add vicvanhalen to your buddy list
 
08-02-06 10:17 PM

I have a similar scenario as the one discussed here, but the one thing I can
not 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 n
o 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 th e > changes to the message? > > Should 'Message Assignment' shape be used? > > Thanks, > Sachin > > "Anirudha Vengurlekar" wrote: >




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register