As far as I know, pure ASP upload scripts use File Scripting Object to write the content uploaded to a file. Since FSO does not accept binary content, each byte of the content is converted to a unicode string using function such as chr(AscB(MidB(value, i, 1))) to be written to a file.<BR><BR>I have tried such script in two hosting environments, the first one works perfectly but the other fails. I found that the problem is caused by the CHR function. It seems that it cannot return the "appropriate" strings for CHR(129) to CHR(254). (the string got is a CHR(0)). What is/are the possible causes of such problems?<BR><BR>1. WinNT / Win2000?<BR>2. IIS Version?<BR>3. Language Version of the OS / IIS?<BR><BR>How to solve the problems?<BR><BR>Please help.<BR><BR>Many thanks!