hi,<BR>for uploading the .xls file from client to server, i am using the following code<BR><BR>Set oFile = oFS.CreateTextFile(sPath & FileName, True)<BR>For nIndex = 1 to LenB(FileData)<BR>oFile.Write Chr(AscB(MidB(FileData,nIndex,1)))<BR>Next<BR><BR> but in case of .xls file, i am not able to upload the same i.e the file is not getting copied. can u tell me where i am wrong.