<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>Classic ASP</title><link>http://forums.iis.net/1032.aspx</link><description>Problems with Classic ASP (*.asp) applications discussion</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: "content-disposition" should not be a filename!!!</title><link>http://forums.iis.net/thread/1901032.aspx</link><pubDate>Sat, 18 Apr 2009 01:21:27 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1901032</guid><dc:creator>Soporose</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1901032.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1901032</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;tomkmvp:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;What happens if you just use some simple ASP.NET code to handle the upload?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms227669.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms227669.aspx&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;p&gt;Well, the situation is this...&lt;br /&gt;&lt;br /&gt;The coder who wrote this application in the first place has &amp;quot;gone missing&amp;quot;.&lt;br /&gt;&lt;br /&gt;I remember enough Asp to be able to read and understand most of the code and to track down where the error lies. He used a chunk of code from the freely available FreeAspUpload for the file upload feature.&lt;br /&gt;&lt;br /&gt;However I&amp;#39;ve never had anything to do with Asp.net and I&amp;#39;m not really in a position right now to take the time to learn it, so I&amp;#39;m hesitant to try and go in that direction.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Re: "content-disposition" should not be a filename!!!</title><link>http://forums.iis.net/thread/1900948.aspx</link><pubDate>Fri, 17 Apr 2009 14:08:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900948</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1900948.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1900948</wfw:commentRss><description>&lt;p&gt;What happens if you just use some simple ASP.NET code to handle the upload?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms227669.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms227669.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: "content-disposition" should not be a filename!!!</title><link>http://forums.iis.net/thread/1900876.aspx</link><pubDate>Thu, 16 Apr 2009 23:27:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900876</guid><dc:creator>Soporose</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1900876.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1900876</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;br /&gt;Thanks for the replies.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Jaroslav:&lt;/b&gt;&lt;br /&gt;Considering that the Asp website application used to work fine in Firefox3, IE6 and IE7 when it was hosted on the old server, isn&amp;#39;t the problem more likely to lie with the version of IIS than the browser?&lt;br /&gt;&lt;br /&gt;The site was up and running fine for a couple of years, so it&amp;#39;s very likely that it was running under an older version of IIS. Unfortunately with the previous hosts having been bought out and all hosted domains transferred to the new owner&amp;#39;s servers, there is no way I can determine what version of operating system and IIS it was originally running on.&lt;br /&gt;&lt;br /&gt;Do you think that&amp;#39;s a likely explanation?&lt;br /&gt;&lt;br /&gt;As for sniffing the client traffic, not sure I&amp;#39;d know what I&amp;#39;m looking at, but I&amp;#39;ll look into it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Leo:&lt;/b&gt;&lt;br /&gt;Yes, any type of file. It happens in Firefox and (I&amp;#39;ve just discovered) Google Chrome as well. Internet Explorer is fine.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: "content-disposition" should not be a filename!!!</title><link>http://forums.iis.net/thread/1900723.aspx</link><pubDate>Thu, 16 Apr 2009 05:58:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900723</guid><dc:creator>Leo Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1900723.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1900723</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;Soporose:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;In IE7 the uploads work as they should, but in Firefox3 the uploaded file is named &amp;quot;content-disposition&amp;quot; and is 0 bytes in size.&lt;br /&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Does any file type uploading has this issue? Is it specific to Firefox browser? &lt;/p&gt;
&lt;p&gt;The following document describes the values of &amp;quot;content-disposition&amp;quot; header, for your reference:&lt;br /&gt;&lt;a href="http://www.ietf.org/rfc/rfc1806.txt"&gt;http://www.ietf.org/rfc/rfc1806.txt&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: "content-disposition" should not be a filename!!!</title><link>http://forums.iis.net/thread/1900719.aspx</link><pubDate>Thu, 16 Apr 2009 05:20:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900719</guid><dc:creator>JaroDunajsky</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1900719.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1900719</wfw:commentRss><description>&lt;p&gt;HTTP spec (RFC 2616) states&lt;/p&gt;
&lt;h3&gt;&lt;a id="sec15.5"&gt;15.5&lt;/a&gt; Content-Disposition Issues&lt;/h3&gt;
&lt;p&gt;RFC 1806 &lt;a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec17.html#bib35" rel="bibref"&gt;[35]&lt;/a&gt;, from which the often implemented Content-Disposition (see section 19.5.1) header in HTTP is derived, has a number of very serious security considerations. &lt;strong&gt;Content-Disposition is not part of the HTTP standard&lt;/strong&gt;, but since it is widely implemented, we are documenting its use and risks for implementors. See RFC 2183 &lt;a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec17.html#bib49" rel="bibref"&gt;[49]&lt;/a&gt; (which updates RFC 1806) for details. &lt;/p&gt;
&lt;p&gt;----------------------------------------------&lt;/p&gt;
&lt;p&gt;By other words the content-disposition has no meaning to IIS itself.&lt;/p&gt;
&lt;p&gt;----------------------------------------------&lt;/p&gt;
&lt;p&gt;I would use network sniffer (wireshark) or Fiddler to sniff client traffic and look for differences in traffic between Firefox and IE.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for not having better answer for you&amp;nbsp;&lt;/p&gt;</description></item><item><title>"content-disposition" should not be a filename!!!</title><link>http://forums.iis.net/thread/1900193.aspx</link><pubDate>Sat, 11 Apr 2009 00:37:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900193</guid><dc:creator>Soporose</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1900193.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1900193</wfw:commentRss><description>&lt;p&gt;&lt;span id="intelliTxt"&gt;Hi all.&lt;br /&gt;
&lt;br /&gt;
I have a site that uses the FreeAspUpload script (http://www.FreeAspUpload.net) to
allow certain people to upload image files to a folder on the server. The
application worked fine for over a year.&lt;br /&gt;
&lt;br /&gt;
Recently that host was taken over by another hosting company, who
proceeded to move websites to their own servers. Things immediately
started to go wrong all over the place and support was abysmal, so I
moved the site to another host, which solved most problems.&lt;br /&gt;
&lt;br /&gt;
However I still have this problem...&lt;br /&gt;
&lt;br /&gt;
In IE7 the uploads work as they should, but in Firefox3 the uploaded
file is named &amp;quot;content-disposition&amp;quot; and is 0 bytes in size.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m not sure what server version the site was on originally when
everything was running okay (I believe it may have been 2000 or
earlier), but it is now being hosted on Windows Server 2003.&lt;br /&gt;
&lt;br /&gt;
I know that &amp;quot;content-disposition&amp;quot; appears in the FreeAspUpload code and
I&amp;#39;ve sussed out that it has some official meaning (but I&amp;#39;m not sure
what).&lt;br /&gt;
&lt;br /&gt;
Any help greatly appreciated.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>