home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15370 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.8 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!umn.edu!noc.msc.net!uc.msc.edu!shamash!ethelred.svl.cdc.com!ldh
  2. From: ldh@svl.cdc.com (Lawrence D. Hare)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: MacBinary Public Domain Code Availability
  5. Message-ID: <47489@shamash.cdc.com>
  6. Date: 11 Sep 92 22:40:49 GMT
  7. Sender: usenet@shamash.cdc.com
  8. Organization: Control Data Systems
  9. Lines: 29
  10. X-UserAgent: Nuntius v1.1.1d9
  11. X-XXMessage-ID: <A6D66D53DC010456@ethelred.svl.cdc.com>
  12. X-XXDate: Fri, 11 Sep 92 15:35:47 GMT
  13.  
  14. So whump - I have MacTCP TCPing and everything works only my binaries are
  15. no more. 'course I knew this was going to happen and I have just
  16. retrieved the specs of the MacBinary I and II standards. So - next
  17. question:
  18.  
  19. Are there any C coded, public domain, publicly available, interface
  20. functions that meet these specs available?
  21.  
  22. Should I go with MacBinary I or II? Guess II...
  23.  
  24. As this requires binary transfer across networks, using Unix systems as
  25. staging posts, MacBinary is NOT a requirement - so is there any other
  26. means of sending a file and retaining file attributes. I could create a
  27. new resource, add in the creator and type, and then send the file. When
  28. received I check for the resource, if not there I assume it is a text
  29. file. If it is there I remove the resource, set the attributes and Bob's
  30. yer Uncle! 'corse, this might be a problem for files with no resource
  31. fork, like spreadsheets. I could add one, then add my resource. When I
  32. retrieve the file I remove the resource fork, or have the fact that there
  33. is no resource fork as an attribute in my new resource, so when I
  34. retrieve the file I just create the data portion. And so on...
  35.  
  36. Any ideas?
  37.  
  38. Thanks...
  39. --
  40. Lawrence D. Hare       Control Data - Silicon Valley Operations
  41. Consultant             Voice: (408) 496 4339 - C/N [234] 4339
  42. ldh@svl.cdc.com        Mail: SVLa60  FAX: (408) 496-4106
  43.