Discussion:
How to send file to FTP by Dynamic port in Orchestration?
(too old to reply)
sep
2007-05-18 10:18:19 UTC
Permalink
I have questions about dynamic port.


i am creating orchestration for send data from incoming data that has
specified port(like ..eg. ID=1;send to web service ID=2;send to ftp,...)

and when the data has destination to ftp, i can't set destination context. i
can set the address ,BUT!!!,i can't set username and password and the others
data to specify the destination
------------------------------------------------------------------------------------
Example:

//Set context on the message you want to send:
SND2FILEPort(Microsoft.XLANGs.BaseTypes.Address)
= "ftp://SERVER/ftpdrop/FTPMessage_%MessageID%.xml";


//Set dynamic ports location:-------->(note: about this, it express the
context : 'message construction,must be done in the construct block')

IncomeMessage(FTP.UserName) = "Administrator";--->this expression not work
IncomeMessage(FTP.Password) = "1234";--->this expression not work

-----------------------------------------------------------------------

have anyone know the complete setting about sending data by dynamic
port(especially,send to FTP)

Thank you
sep
2007-05-18 10:34:01 UTC
Permalink
in addition, i have something more...

when i set only FTP address

it's a error message in BizTalk like this:
Unable to connect to FTP server "SERVER" as user "".
Please verify the address and port. Also, verify the FTP server is running.
Post by sep
I have questions about dynamic port.
i am creating orchestration for send data from incoming data that has
specified port(like ..eg. ID=1;send to web service ID=2;send to ftp,...)
and when the data has destination to ftp, i can't set destination context. i
can set the address ,BUT!!!,i can't set username and password and the others
data to specify the destination
------------------------------------------------------------------------------------
SND2FILEPort(Microsoft.XLANGs.BaseTypes.Address)
= "ftp://SERVER/ftpdrop/FTPMessage_%MessageID%.xml";
//Set dynamic ports location:-------->(note: about this, it express the
context : 'message construction,must be done in the construct block')
IncomeMessage(FTP.UserName) = "Administrator";--->this expression not work
IncomeMessage(FTP.Password) = "1234";--->this expression not work
-----------------------------------------------------------------------
have anyone know the complete setting about sending data by dynamic
port(especially,send to FTP)
Thank you
Jan Eliasen
2007-05-24 18:59:40 UTC
Permalink
On Fri, 18 May 2007 03:18:19 -0700, sep
Post by sep
IncomeMessage(FTP.UserName) = "Administrator";--->this expression not work
IncomeMessage(FTP.Password) = "1234";--->this expression not work
What do you mean by "this expression not work"? What error do you get?

Things to remember: You can not change the properties of a message
outside a message assignment shape. Are you trying to do it in an
expression shape?
--
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: ***@eliasen.dk
Loading...