<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: File attachment binary64 creates text on header</title><link>https://www.infopathdev.com:443/forums/thread/8546.aspx</link><pubDate>Wed, 14 Dec 2005 13:38:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8546</guid><dc:creator>AndersR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8546.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8546</wfw:commentRss><description>All attachments in InfoPath gets an InfoPath header.&lt;br /&gt;&lt;br /&gt;This header is used to show file data such as size, icon and filename in the form.&lt;br /&gt;&lt;br /&gt;To extract data for your webservice you need to remove this header.&lt;br /&gt;&lt;br /&gt;The data structure of the header is described in the SDK.&lt;br /&gt;&lt;br /&gt;I have done this already for a web service myself, so check out the posting linked below for code.&lt;br /&gt;&lt;br /&gt;Remember when you recieve the infopath attachment filename, that it is has a terminating zero, so you need to remove the last char to make your web service call well-formed.&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1213&amp;SearchTerms=attachment#3532&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1213&amp;SearchTerms=attachment#3532&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;hth&lt;br /&gt;//AndersR&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>File attachment binary64 creates text on header</title><link>https://www.infopathdev.com:443/forums/thread/5187.aspx</link><pubDate>Tue, 13 Dec 2005 13:50:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5187</guid><dc:creator>nacho</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5187</wfw:commentRss><description>I have a "File Attachment" control in the form,and when attaching a video "avi" file, it is converted to binary64 and placed into the XML file, well, when I take this binary64 text in my Web Service and then convert it back into an "avi", but InfoPath had added to the binary64 text some more text and also the name of the original file, something like that: &lt;br /&gt;&lt;br /&gt;ÇIFA&#x14;   &#x1;        &#x18;&#x2; &#xC;   t e s t O n e . a v i   &lt;br /&gt;&lt;br /&gt;the result is that I can not open it with any video player because of this anoying line!!&lt;br /&gt;&lt;br /&gt;does anyone knows how to get rid of this line??&lt;br /&gt;&lt;br /&gt;thanks in advance&lt;br /&gt;&lt;br /&gt;nacho</description></item></channel></rss>