| JDP@Work 2005-07-24, 9:05 pm |
| I'm not sure if this is correct , however you could consider code/decoding the
file into Base64 and sending inline.
... schema...
<xs:element name="ATTACHMENT1" minOccurs="0">
<xs:annotation>
<xs:documentation>Attachment Information</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ATT_FILENAME">
<xs:annotation>
<xs:documentation>Attachment Filename</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ATT_FILETYPE">
<xs:annotation>
<xs:documentation>Attachment Type - DOC, PDF or TIF</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
<xs:enumeration value="DOC"/>
<xs:enumeration value="TIF"/>
<xs:enumeration value="PDF"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ATT_DATA" type="xs:base64Binary">
<xs:annotation>
<xs:documentation>Attachment Data</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
.... end schema...
.... snipit ....
<ATTACHMENT1>
<ATT_FILENAME>ORDER1.TIF</ATT_FILENAME>
<ATT_FILETYPE>TIF</ATT_FILETYPE>
<ATT_DATA>SUkqAAgAAAARAP4ABAABAAAAAgAAAP8A
.... more encoded characters.....
</ATT_DATA>
</ATTACHMENT1>
.... end snipit
HTH
JeffP.....
"GJH" <gherrmann@clayton.com> wrote in message
news:uMxAD7JjFHA.1428@TK2MSFTNGP10.phx.gbl...
> I have 2 separate servers.
>
> I have an upload form running on server1 and I need to upload a PDF(or any
> other file) to server2 .
> I want to put the files in a directory NOT in a database and I cannot find
> any tutorials out there on how to do so.
>
> if anyone has sample code or knows of a good tutorial, please advise.
>
> thanks in advance
>
>
|