edit .netrc file at your home directory ,add code like this:
machine 192.168.0.1 login myusr password 123
save it,then chmod 600 .netrc
ps:192.168.0.1 is destination address
myusr is your login name
123 is your password
Please Let me know which .netrc file should I edit either in my home directory of in the destination home directory.
I need to know the idea of .netrc file. I really misunderstand it.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Actually what I'm doing is the following:
I have 192.168.30.151 unix server
I have 123.123.130.200 unix destination server.
I need to ftp auto. from server No. 1 to destination server.
How can I make this in detail. please .
Hi thestevew,
Noticed your read statements.
What's with the `?` at the end of the variable - never seen it used before (nor find reference in a 'man read').