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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unix to nt file transfer using .netrc

Status
Not open for further replies.

ra5467

Technical User
Jan 29, 2002
2
US
thanks for the tip on the .netrc file. but...having problems.

1) if i just type 'machine oldbox login root passwd rootpass' in the file, i get an error stating that user must enter password as well.

2) if i enter everything similar to this: 'machine oldbox login root passwd rootpass
macdef init
hash
prompt off
mget *.cgi

macdef myget
cd somedir
mget *.data
cdup', then i get a macro definition missing null terminator error, and i'm still not logged in at that.

any advice would be appreciated. i do like the use of the .netrc file, but i'm having issues with the commands being accepted by the microsoft server (authentication) i think.

thx
 
Did you end the .netrc with a blank line? That's required even if there's only one entry in the file.

Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top