Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX .netrc script 1

Status
Not open for further replies.

necsi

IS-IT--Management
Dec 6, 2000
13
US
I am having difficulty trying to get my .netrc script to login into a Win-NT server and 'mput' one file on the server.
For some reason it does not like my macdef init line.
An example would be great.
The user login owns the .netrc and the permissions are set
to 600. I can manually run 'ftp' and all works fine.
 
Elgis helped me with the same problem a few weeks ago. An example........

machine 73.146.96.16 login mikeymac password 123456
macdef init
put /usr/bin/tacosalad.txt tacosalad.txt
bye
INSERT A BLANK LINE (AKA: Null Line Terminator!) HERE!!!!
~
~
~
~
~
~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top