|
Home > Archive > BizTalk Server General > January 2006 > FTP files with no associated schems
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
FTP files with no associated schems
|
|
|
| I am creating 2 data files (excel and a txt file) and these files do not have
associated schema with it.
Does 2004 still allow me to FTP these files using the FTP adapter.
Thanks
Minaz
| |
| Matt Milner 2006-01-13, 9:59 pm |
| Yes, the adapter works with streams of data and won't care what type they
are. In an orchestration, you'll need to treat them as
System.Xml.XmlDocument. When you send and receive files of this type, use
the pass through pipelines, or custom pipelines with no xml or flat file
assembler or disassembler.
Matt
"Minaz" <Minaz@discussions.microsoft.com> wrote in message
news:CB4DE828-87E9-4DB0-BEA8-8187070E8FA3@microsoft.com...
>I am creating 2 data files (excel and a txt file) and these files do not
>have
> associated schema with it.
>
> Does 2004 still allow me to FTP these files using the FTP adapter.
>
> Thanks
>
> Minaz
| |
|
| Thanks for the reply.
But my files are on the disk in a particular folder and I have to FTP those
files to mainframe. This will be a part of the orchestration workflow though.
Also I have to use a dynamic send port. When using a dynamic send port, I
have to associate the message properties to the FTP username and password.
So how can I a create these files of XML document. And these files are also
big ~ 50 MB.
Do I get a sample code for this.
Thanks
Minaz
"Matt Milner" wrote:
> Yes, the adapter works with streams of data and won't care what type they
> are. In an orchestration, you'll need to treat them as
> System.Xml.XmlDocument. When you send and receive files of this type, use
> the pass through pipelines, or custom pipelines with no xml or flat file
> assembler or disassembler.
>
> Matt
>
>
> "Minaz" <Minaz@discussions.microsoft.com> wrote in message
> news:CB4DE828-87E9-4DB0-BEA8-8187070E8FA3@microsoft.com...
>
>
>
| |
| Matt Milner 2006-01-13, 9:59 pm |
| Which message properties are you associating with hte user name and
password? Any data from the original files?
You can use a file receive with the pass through pipeline and then inside
your orchestration you can still set message context properties such as hte
FTP username and password. In your orchestration, the message type will be
System.Xml.XmlDocument.
you'll set the message properties for username and password like so:
OutboundMessage(FTP.UserName) = "someusername";
OutboudnMessage(FTP.Password) = "mypassword";
Matt
"Minaz" <Minaz@discussions.microsoft.com> wrote in message
news:721E416B-0AFE-419F-B13D-D28451A42B91@microsoft.com...[vbcol=seagreen]
> Thanks for the reply.
>
> But my files are on the disk in a particular folder and I have to FTP
> those
> files to mainframe. This will be a part of the orchestration workflow
> though.
> Also I have to use a dynamic send port. When using a dynamic send port, I
> have to associate the message properties to the FTP username and
> password.
>
> So how can I a create these files of XML document. And these files are
> also
> big ~ 50 MB.
>
> Do I get a sample code for this.
>
> Thanks
> Minaz
>
> "Matt Milner" wrote:
>
|
|
|
|
|