G
garbriel
hi!
i have a situation here!
i want to save string from BinaryRead()method, so i write
a ASP code just like that!!
<%
dim binRead
dim byteCount
byteCount= Request.TotalBytes
binRead = Request.BinaryRead(byteCount)
Set objFSO = Server.CreateObject
("Scripting.FileSystemObject")
Set objTStream = objFSO.CreateTextFile("C:\aaaa.txt", True)
objTStream.WriteLine binRead
Set obj = Nothing
%>
objTStream.WriteLine binRead <-- is it right?
when i open "C:\aaaa.txt" there is no char! no string
what is wrong?
how can i save binary string?
please!! i need your help
i have a situation here!
i want to save string from BinaryRead()method, so i write
a ASP code just like that!!
<%
dim binRead
dim byteCount
byteCount= Request.TotalBytes
binRead = Request.BinaryRead(byteCount)
Set objFSO = Server.CreateObject
("Scripting.FileSystemObject")
Set objTStream = objFSO.CreateTextFile("C:\aaaa.txt", True)
objTStream.WriteLine binRead
Set obj = Nothing
%>
objTStream.WriteLine binRead <-- is it right?
when i open "C:\aaaa.txt" there is no char! no string
what is wrong?
how can i save binary string?
please!! i need your help