home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / novell / 10680 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.7 KB  |  40 lines

  1. Nntp-Posting-Host: bones.et.byu.edu
  2. Lines: 29
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!eff!news.byu.edu!news
  4. Message-ID: <jo#@byu.edu>
  5. Date: Fri, 18 Dec 92 11:36:26 MST
  6. From: dude@bones.caedm.byu.edu (Bruce Holmstead)
  7. Organization: Brigham Young University, Provo UT USA
  8. Newsgroups: comp.sys.novell
  9. Subject: Can a PRINT_SERVER object open network files?
  10.  
  11.  
  12. Is it not possible for a PRINT_SERVER object to read and write to network 
  13. volumes?  I know they must read and write some files to serve print 
  14. queues which are probably written in the system directory or in the mail 
  15. directory.
  16.  
  17. I have a program that logs into the network as a printserver and then 
  18. needs to read and write to files on network volumes.  I try to do an 
  19. "open" or a "fopen" in C to a certain file "volume:dir\subdir\file.dat" 
  20. but I am not able.  I tried to map a search drive using the API MapDrive 
  21. and then use that, but failed.  (ie Z as volume:dir\subdir then opening 
  22. the file as file.dat)
  23.  
  24. Also, has anyone had experience spawning to another program on the 
  25. network while logged as a PRINT_SERVER.  And how does one check if a 
  26. certain file exists on the network?
  27.  
  28. Any ideas are appreciated.
  29.  
  30. Thanks
  31.  
  32. Bruce
  33. +----------------------------------------------------------------------------+
  34. |   Bruce Holmstead    |    dude@bones.et.byu.edu    |   HM (801) 374-2489   |
  35. +----------------------------------------------------------------------------+
  36. --
  37. +----------------------------------------------------------------------------+
  38. |   Bruce Holmstead    |    dude@bones.et.byu.edu    |   HM (801) 374-2489   |
  39. +----------------------------------------------------------------------------+
  40.