1828003 Members
2370 Online
109973 Solutions
New Discussion

question about script

 
navin
Super Advisor

question about script

Hi
One of the start up script which uses ftp a lot instead of hardcoding the username nad passwd - client would like to use th e.file which lists the credentials. The startup script ususally started by the root user thi s particular .file is in root users home dir.
But still seems the ftp process failing as it is not able to connect to the specified server - how and where should the .file specified so that the startup script can parse it
Any thoughts?
Thanks
Learning ...
1 REPLY 1
James R. Ferguson
Acclaimed Contributor

Re: question about script

Hi:

SInce is seems that you are asking about FTP and logins, I'd ask you to look at using the 'netrc' file for your login requirements. See the manpages for 'netrc(4)' for details.

Regards!

...JRF...