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