<?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: Attachment Name?</title><link>https://www.infopathdev.com:443/forums/thread/6839.aspx</link><pubDate>Sun, 05 Mar 2006 18:52:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6839</guid><dc:creator>Stephanie Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6839</wfw:commentRss><description>This requires code to decode the file attachment blob.  &lt;br /&gt;The following link has an article describing the structure of the attachment header:&lt;br /&lt;a target="_blank" href=http://blogs.msdn.com/infopath/archive/2004/03/18/92221.aspx&gt;http://blogs.msdn.com/infopath/archive/2004/03/18/92221.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following is an excerpt describing the header format:&lt;br /&gt;&lt;br /&gt;Upon attaching a file, InfoPath first builds a header structure which includes information about the file being attached. The structure consists of the following:&lt;br /&gt;BYTE[4]: Signature (based on the signature for PNG): &lt;br /&gt;(decimal)          199       73         70         65&lt;br /&gt;(hexadecimal)      C7        49         46         41 &lt;br /&gt;(ASCII C notation) \307      I           F          A  &lt;br /&gt;&lt;br /&gt;The first byte is chosen as a non-ASCII value to reduce the probability that a text file may be misrecognized as a file attachment.  The rest identifies the file as an InfoPath File Attachment.  &lt;br /&gt;·         DWORD: Size of the header &lt;br /&gt;·         DWORD: IP Version &lt;br /&gt;·         DWORD: dwReserved &lt;br /&gt;·         DWORD: File size &lt;br /&gt;·         DWORD: Size of file name buffer &lt;br /&gt;·         File name buffer: variable size &lt;br /&gt;</description></item><item><title>Attachment Name?</title><link>https://www.infopathdev.com:443/forums/thread/4668.aspx</link><pubDate>Sat, 14 May 2005 14:14:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4668</guid><dc:creator>potpourri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4668.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4668</wfw:commentRss><description>If user has attached an attachment (in the Picture or File Attachment (base64)), is it possible for us to extract the attachment filename to be displayed in other field?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks!</description></item></channel></rss>