<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>setFile IE7 — Sahi Pro Community</title>
        <link>https://community.sahipro.com/forums/</link>
        <pubDate>Fri, 13 Nov 2026 11:49:58 +0000</pubDate>
        <language>en</language>
            <description>setFile IE7 — Sahi Pro Community</description>
    <atom:link href="https://community.sahipro.com/forums/discussions/tagged/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>_setFile doesn't work on IE7 , works on Firefox 3.0</title>
        <link>https://community.sahipro.com/forums/discussion/1146/setfile-doesnt-work-on-ie7-works-on-firefox-3-0</link>
        <pubDate>Fri, 21 Aug 2009 09:15:22 +0000</pubDate>
        <category>Sahi - Open Source</category>
        <dc:creator>hari19</dc:creator>
        <guid isPermaLink="false">1146@/forums/discussions</guid>
        <description><![CDATA[I previously had an issue where _setFile did not work ( <a href="/forums/home/leaving?target=http%3A%2F%2Fsahi.co.in%2Fforums%2Fviewtopic.php%3Fid%3D1073" rel="nofollow">http://sahi.co.in/forums/viewtopic.php?id=1073</a> )<br />
This was fixed in a build Narayan mailed me and also in the 20090715 build.<br />
<br />
This works on firefox but does not work on IE 7.<br />
I've recorded a script that uses _setFile.<br />
<br />
When I run the script with Firefox the sahi console logs show the file being uploaded :<br />
[java]
<hr />
21548648327595<br />
[java] Content-Disposition: form-data; name=&quot;importFile&quot;; filename=&quot;my.xml&quot;<br />
[java] Content-Type: application/octet-stream<br />
[java]<br />
[java] &lt;?xml version='1.0' encoding='UTF-8'?&gt;<br />
[java] &lt;!DOCTYPE Configuration PUBLIC 'mydtd.dtd' 'mydtd.dtd'&gt;<br />
...<br />
...<br />
<br />
<br />
When I run the same script with IE 7 I see :<br />
[java]
<hr />
7d9222154c0a7c<br />
[java] Content-Disposition: form-data; name=&quot;importFile&quot;; filename=&quot;&quot;<br />
[java] Content-Type: application/octet-stream<br />
[java]<br />
[java]
<hr />
7d9222154c0a7c]]>
        </description>
    </item>
   </channel>
</rss>
