Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: File writing issue

From: antonr:iinet:au at: 31-Oct-2003 12:55

I suspect the problem is either in your /direct mode handling, or the build attach code. What happens when you do not use /direct mode? If you write in buffered mode, you have the file contents in memory, so you should be able to write/binary the file, then send straight from memory. Also you can read/binary and compare the contents in memory. contents: read/binary file write/binary file2 contents contents2: read/binary file2 ; compare contents print (checksum contents) = checksum contents2 I know you want to use /direct mode, but until you are bug free... divide and conquer. Anton.