RE: Can native FTP adapter do this?
- From: Selvan <Selvan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Oct 2006 19:48:02 -0700
Mike,
If you have your logical port (MyDynamicMessagePort) marked as "dynamic"
in your orchestration and you have message message built with you say
"myMessage"
use "Message assignment" shape to enter the following commands. It should
work.
MyDynamicMessagePort(Microsoft.XLANGs.BaseTypes.Address) =
"ftp://198.xxx.yyy.zzz/testdir/test.tx"t;
myMessage(FTP.UserName) = "mike";
myMessage(FTP.Password) = "mike";
myMessage(BTS.RetryCount) = 20;
myMessage(BTS.RetryInterval) = 2;
myMessage(FTP.BeforePut) ="RECFM=FB LRECL=300 BLKSIZE=27900 PRI=15 SEC=15";
If you have any errors, questions please let the community know.
Hope this helps,
Selvan,
Tamilselvan Subramanian
"Michael Krok" wrote:
Thank You WenJun, yes I do need to execute the SITE commands. I have a good.
idea how to set the props for a static port but I'm looking for an example of
how to configure a dynamic port. I need the syntax and I cant seem to find
any examples.
If I had a dynamic port in an orchestration, what would the syntax be for
the following example, ftp a file named test.txt to address 198.xxx.yyy.zzz,
user id is mike, pwd = mike with the site commands below
RECFM=FB LRECL=300 BLKSIZE=27900 PRI=15 SEC=15
Thanks in advance
--
Michael Krok
President
Mallard Solutions LLC
Microsoft Certified Partner
""WenJun Zhang[msft]"" wrote:
Hi Michael,
Acorrding to your description, the problem is that you need to execute the
SITE command with BizTalk FTP Adapter, right?
If so, yes, such kind of 'Before GET','Before PUT', etc commands are
natively supported by BizTalk FTP Adapter. For a static port, you can
configure these commands in corresponding fields in FTP Transport
Properties dialog. These properties(i.e: BeforePut) is also accessible and
can be dynamically set in a dynamic FTP port. Please refer to the following
chapters in BTS core doc:
Configuring an FTP Adapter to Work with Legacy Hosts
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bts06coredo
cs/html/e46ceee6-44fb-4a44-a14e-8591b81cd7cb.asp
FTP Adapter Property Schema and Properties
http://msdn.microsoft.com/library/en-us/BTS06CoreDocs/html/677fdb61-c2b0-4df
2-a826-840113e61e8b.asp
Please update here if you have further question.
Have a nice day.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: Can native FTP adapter do this?
- From: Michael Krok
- RE: Can native FTP adapter do this?
- References:
- RE: Can native FTP adapter do this?
- From: "WenJun Zhang[msft]"
- RE: Can native FTP adapter do this?
- From: Michael Krok
- RE: Can native FTP adapter do this?
- Prev by Date: Re: Proactively raise exception on missing file
- Next by Date: Re: XLANG Problem Biztalk 2006 / SAP
- Previous by thread: RE: Can native FTP adapter do this?
- Next by thread: RE: Can native FTP adapter do this?
- Index(es):
Relevant Pages
|