|
If I ftp in omvs from the prompt...it will use the .netrc file and supply the userid/password. If I put the ftp in a perl script: $ENV{HOME} = "/u/mydir"; open(FTP, "| /bin/ftp -n $theNode>>/tmp/ftpout.dat");
I get to the node…but the ftpout.dat shows that I’m not logged on...and then fails. If I issue rexec…the .netrc file is used and I can execute remote commands. Is there something else that needs to be done for the ftp environment to use the .netrc file?
Thanks,
Vickie Cooper Vickie Cooper
|
