How do you define macros in a .netrc file?

Paul Burry rpburry at ncs.dnd.ca
Mon Jan 7 01:01:00 AEST 1991



I am trying to define the 'init' macro in the .netrc ftp startup file,
but I cannot seem to get it to work.  I was able to define the macro 
interactively, but I can't get it to work in the netrc file.  Can anyone
tell me how to do it?

I was trying:

machine themachine login thelogin password thepassword
macdef init
bin
prompt
cd pub
<blank line>



Thanks,
	Paul
-- 
----------------------------------------------------------------------
Paul Burry			
Voice: (613)-991-7325		Internet: rpburry at ncs.dnd.ca
Fax:   (613)-991-7323		UUCP:	  ..!{uunet,cunews}!ncs.dnd.ca!rpburry



More information about the Comp.unix.questions mailing list