Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
FSO binary write
Name: Zitus Date: September 5, 2002 at 08:22:35 Pacific OS: win32/ASP CPU/Ram: 256 mb
Comment:
Hi. Im trying to write to disk binary files that i retrieved from an access database. I can display the file in the browser (images for example) but i could not find any info about dumping them to disk. If anyone can help, i will appreciate it. thanks!
Summary: Binary reading is done through "fread();". Binary writing through "fwrite();" (Well, that's what I generally use... There are dozens of ways if you look around...) What you want is kind of vague, but ...
Summary: open inputfile for binary reading open outputfile for binary writing while not end of input file fread one byte from input file change that byte as desired fwrite that byte to output file wend c...
Summary: For better or worse, the easy-to-use FileSystemObject class cannot access in binary mode, only in text mode. Then again, that's probably a good thing, since the FSO is part of VBScript, and hence is i...