RE: Can native FTP adapter do this?



Thanks Selvan - I'll try it out as soon as I get acces t oour business
partners ftp site. I did not know that the before put could be a whole
string like that.

Thanks --
--
Michael Krok
President
Mallard Solutions LLC
Microsoft Certified Partner


"Selvan" wrote:

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.


.



Relevant Pages

  • RE: Client Computers cannot upload or download from Remote FTP ser
    ... A suggestion would be to contact Microsoft Product Support Services via ... Microsoft CSS Online Newsgroup Support ... Client Computers cannot upload or download from Remote FTP ...
    (microsoft.public.windows.server.sbs)
  • RE: FTP Upload
    ... A suggestion would be to contact Microsoft Product Support Services via ... Microsoft CSS Online Newsgroup Support ... | Thread-Topic: FTP Upload ...
    (microsoft.public.windows.server.sbs)
  • RE: FTP %SourceFileName%
    ... properly in the FTP Collect folder. ... The permissions thing was a red herring as I suspected. ... file port, code ... Microsoft Online Community Support ...
    (microsoft.public.biztalk.general)
  • RE: Confused about FTP for IIS7 authorization
    ... ACL list includes your test account and that's why you can login without ... them are with allowed rules in FTP authorization. ... Microsoft Online Community Support ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Scripting FTP retries
    ... IIS 6 ftp support both REST and APPE, it's client side that control it, not ... > server and retrieve a series of files. ...
    (microsoft.public.inetserver.iis.ftp)