home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18355 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1017 b 

  1. Path: sparky!uunet!caen!kuhub.cc.ukans.edu!jwilson
  2. From: jwilson@kuhub.cc.ukans.edu
  3. Newsgroups: comp.lang.c
  4. Subject: Executing Code during SYSTEM() calls?
  5. Message-ID: <1992Dec14.173329.45635@kuhub.cc.ukans.edu>
  6. Date: 14 Dec 92 17:33:29 CST
  7. Organization: University of Kansas Academic Computing Services
  8. Lines: 13
  9.  
  10. I am working on writing a front end program which will transfer
  11. files from a VAX/VMS system to a SUN/UNIX system via FTP.  I have
  12. the file handling and idiot-proofing done but I have not discovered
  13. a method of using the FTP mechanism while the c code is still executing.
  14. I have been using the ANSI function system().  However, once the intrepreter
  15. has control of the system, I can no longer issue commands to login to the
  16. sun system with USER and PASSWD.  It is necessary to hide the login from
  17. the user for reasons of simplicity and security.  Does anyone know of a
  18. mechanism which 'C' or FTP provides to accomplish this task?  Any help
  19. would be greatly appreciated.
  20.  
  21. -Jason
  22. jwilson@kuhub.cc.ukans.edu
  23.