I am using SA-FileUp to stream binary files to the browser (basic file download). SoftArtisans tech support punted on this issue. <BR><BR>The included code works fine for MS-Word .DOC files, text files and images. However on IE5 it fails with the following error:<BR><BR>"Internet Explorer cannot download file_download.asp from servername.<BR><BR>Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."<BR><BR>The same PDF downloads fine into Netscape 4.73. I have a sniff of the HTTP and everything seems pretty koshur. Has anyone encountered a similar problem? Any advise? <BR><BR>Code follows:<BR>&#060;%<BR>Option Explicit<BR>On Error Goto 0<BR>Dim blnDebug : blnDebug = False<BR>Dim FILEDIR : FILEDIR = Application("DocumentDirectory")<BR>Dim strDLDoc : strDLDoc = Request.QueryString("fn")<BR>Dim strDLfn : strDLfn = FILEDIR & "\" & strDLDoc<BR>Dim oFM, oFile, oDownload<BR><BR>Call Main()<BR>&#039*********************************** *********************************<BR>&#039Main<BR> &#039 Assumes blnDebug flag defined<BR>&#039********************************** **********************************<BR>Sub Main<BR> Response.Buffer = True<BR> Err.Clear <BR> If blnDebug Then <BR> On Error Goto 0<BR> Response.Write "Begin File_Download"<BR> Response.Write "File Dir: " & FILEDIR & ";"<BR> Else<BR> On Error Resume Next<BR> End If<BR> <BR> If (strDLDoc &#060;&#062; "") Then<BR> DownloadFile(strDLfn)<BR> Else<BR> Err.Raise 9999,"File_Download.asp::No filename(fn) specified","No document specified"<BR> End If<BR> Call outputError(strDLdoc)<BR>End Sub<BR><BR>Sub DownloadFile(filename)<BR> Set oFM = Server.CreateObject( "SoftArtisans.FileManager" )<BR> If (Err &#060;&#062; 0) Then<BR> Err.Raise 9999, "File_Download.asp::Unable to instantiate Sofware Artisans FileManager component", "Check SA FileUp installation on IIS server."<BR> End If<BR> Set oFile = oFM.GetFile(filename)<BR> If (Err &#060;&#062; 0) Then<BR> Response.Write "Error Opening file" <BR> Err.Raise 9999, "File_Download.asp::Unable to open file for download.", "Please check for existance of file on file server. File=" & filename<BR> End If<BR><BR> If Not blnDebug Then <BR> Response.Clear<BR> Response.AddHeader "Content-Disposition", "filename=" & strDLDoc & ";"<BR> Response.ContentType = oFile.MimeType<BR> Response.AddHeader "Content-Length", oFile.Size<BR> Response.CacheControl = "public"<BR> Set oDownload = Server.CreateObject("SoftArtisans.FileUp")<BR> oDownload.TransferFile filename<BR> Response.End<BR> Else <BR> Response.Write "Filename=" & strDLDoc & ";"<BR> Response.Write "Full Path=" & strDLfn & ";"<BR> Response.Write "Mime=" & oFile.MimeType & ";"<BR> Response.Write "File Size=" & oFile.Size & ";"<BR> End If<BR><BR> Set oFM = Nothing<BR> Set oFile = Nothing<BR> Set oDownload = Nothing<BR>End Sub<BR><BR>Sub outputError(fn)<BR> %&#062;<BR> &#060;HTML&#062;<BR> &#060;HEAD&#062;&#060;/HEAD&#062;<BR> &#060;BODY&#062;<BR><BR> Errors occured when trying to download the file.&#060;p&#062;<BR> <BR> Sorry, your file is currently not available for viewing. Please check back later <BR> or contact your Agent for further information.<BR><BR> <BR> &#060;% <BR> Response.Write "&#060;!" & "-- File Path:" & strDLfn & "--&#062;" <BR> Response.Write "&#060;!" & "-- Err Number:" & Err.number & "--&#062;" <BR> Response.Write "&#060;!" & "-- Err Description:" & Err.Description & "--&#062;" <BR> Response.Write "&#060;!" & "-- Err Source:" & Err.Source & "--&#062;" <BR> %&#062;<BR> &#060;/BODY&#062;<BR> &#060;/HTML&#062;<BR> &#060;% <BR>End Sub <BR>%&#062;<BR><BR>Paul Enfield<BR>Senior Web Developer<BR>http://www.eHome.com<BR>buying. selling. and everything in between<BR>