| Author |
Dynamic port: FTP BTSAdapterException
|
|
|
| Hi,
I'm trying to send a message out through a dynamic port via FTP.
I set dynamic port location and FTP username and password in a "Message
Assignment" shape inside my "Construct Message" shape.
I get a "BTSAdapterException."
Code inside my "Message Assignment" shape
//Set dynamic port location:
MySendPort(Microsoft.XLANGs.BaseTypes.Address) =
"ftp://foldername/filename";
//Set context on the message to be sent
MySendMessage(FTP.UserName) = "username";
MySendMessage(FTP.Password) = "password";
Any suggestions?
| |
| Samuel L 2005-12-22, 2:57 am |
| Hi!
It seems like you're doing it the right way!
What exactly does the BTSAdapterException tell you?
"AnaB" wrote:
> Hi,
> I'm trying to send a message out through a dynamic port via FTP.
> I set dynamic port location and FTP username and password in a "Message
> Assignment" shape inside my "Construct Message" shape.
> I get a "BTSAdapterException."
>
>
> Code inside my "Message Assignment" shape
>
> //Set dynamic port location:
> MySendPort(Microsoft.XLANGs.BaseTypes.Address) =
> "ftp://foldername/filename";
>
> //Set context on the message to be sent
> MySendMessage(FTP.UserName) = "username";
> MySendMessage(FTP.Password) = "password";
>
>
> Any suggestions?
>
>
| |
|
| Well, the BTSAdapterException doesn't say anything else. That's the
entire error message.
But apparently what caused it was a problem in my map.
So all is fixed 
Samuel L wrote:[vbcol=seagreen]
> Hi!
>
> It seems like you're doing it the right way!
>
> What exactly does the BTSAdapterException tell you?
>
>
>
> "AnaB" wrote:
>
|
|
|
|