Hi All, especially Touzious, Im attempting to read a posted image file from a form, but havent quite got the save file bit right. The code below is from the asp page which attempt to save a posted gif file, its saving okay, and when I view the file in Textpad, it looks like a regular gif file, but has two strange chars at the start, so its not recognised as a gif when I try and display it.<BR><BR>E.g. should start with &#039;GIF89a&#039;, but actually starts with &#039;ypGIF89a&#039; and has a lot more spaces, where &#039;yp&#039; are greek chars.<BR><BR>Any help would be great<BR><BR>sFormSize = Request.TotalBytes<BR>sFormData = Request.BinaryRead(sFormSize)<BR><BR>bnCRLF = chrB(13) & chrB(10)<BR>sDivider = LeftB(sFormData,Instrb(sFormData,bnCRLF) - 1)<BR>sDataStart = InstrB(sFormData, bnCRLF & bnCRLF) + 4<BR>sDataEnd = InstrB(sDataStart + 1, sFormData, sDivider) - sDataStart<BR><BR>sFileData = MidB(sFormData,sDataStart,sDataEnd)<BR><BR>Set objFSO = CreateObject ("Scripting.FileSystemObject")<BR><BR>Set objFile = objFSO.CreateTextFile (Server.MapPath("cartonstylessomefile.gif"), True)<BR>Set objFile = objFSO.GetFile(Server.MapPath("cartonstylessomefil e.gif"))<BR><BR>Set objStream = objFile.OpenAsTextStream (2,-1)<BR><BR>For nIndex = 1 to LenB(sFileData)<BR> objStream.Write Chr(AscB(MidB(sFileData,nIndex,1)))<BR>Next<BR><BR >objStream.Close<BR><BR>Set objFile = Nothing<BR>Set objFSO = Nothing<BR>