Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!umd5!brl-adm!adm!dsg@mitre-bedford.arpa From: dsg@mitre-bedford.arpa (Dave Goldberg) Newsgroups: comp.unix.questions Subject: Re: Application Programming Interface for FTP Message-ID: <11180@brl-adm.ARPA> Date: 8 Jan 88 14:01:40 GMT Sender: news@brl-adm.ARPA Lines: 14 If such a library exists, I'd like to hear about it. What I've done to work around the lack of same is to build a file with ftp commands in it and then use system(3) to execute ftp with input redirected from the file. To avoid the password hassle, the ftp at our site provides the facility to have a file called .netrc in the home directory. This file is searched for user names and passwords to be used on the remote system. It isn't mentioned in our ftp man page, so I can't be sure if it is a standard though. -------------------------------------------------------------------------- Dave Goldberg ARPA: dsg@mitre-bedford.arpa The Mitre Corporation UUCP: linus!mbunix!dsg MS B015 Bedford, MA 01730 617-271-2460