I have a script that should download a photo for the person who purchased it. It works fine on my local server, but when I put it on the primary server it will select the page as the file to download instead of the photo file? <BR>Heres a peek: <BR>SET FM = SERVER.CREATEOBJECT("SoftArtisans.FileManager") <BR> IF NOT FM.FileExists(strFullPath) THEN <BR> SET FM = NOTHING <BR> RESPONSE.Write("Internal Error 3 - Please contact store owner.") <BR> RESPONSE.End <BR> END IF <BR> SET FM = NOTHING <BR> &#039; set first header <BR> RESPONSE.AddHeader "Content-Disposition", "attachment; filename=" & strfilename <BR> &#039; instantiate file system object <BR> SET objFileManager = SERVER.CREATEOBJECT("SoftArtisans.FileManager") <BR> &#039; grab that there download file <BR> SET objFile = objFileManager.GetFile(strFullPath) <BR> &#039; set second header (file size) <BR> RESPONSE.AddHeader "Content-Length", objFile.Size <BR> SET objFile = NOTHING <BR> SET objFileManager = NOTHING <BR> &#039; strip file extension out of our download file for testing <BR> intLoc = INSTR(strFileName, ".") <BR> strTemp = MID(strFileName, (intLoc + 1)) <BR> &#039; set 2nd header according to our above test (extension = type of content) <BR> IF UCASE(strTemp) = "ZIP" THEN <BR> RESPONSE.ContentType = "application/x-zip-compressed" <BR> ELSEIF UCASE(strTemp) = "JPG" OR UCASE(strTemp) = "JPEG" THEN <BR> RESPONSE.ContentType = "image/jpeg" <BR> ELSEIF UCASE(strTemp) = "GIF" THEN <BR> RESPONSE.ContentType = "image/gif" <BR> ELSE <BR> RESPONSE.ContentType = "application/x-msdownload" <BR> END IF <BR> &#039; this one for a microsoft bug <BR> RESPONSE.CacheControl = "public" <BR> &#039; now push that puppy to the client <BR> SET objDownload = SERVER.CREATEOBJECT("SoftArtisans.FileUp") <BR> objDownload.TransferFile strFullPath <BR> SET objDownload = NOTHING <BR>END IF