I have a script that does the following wget --continue --tries=inf -r --glob=on --no-directories -oout.txt ftp://ftp.123.com/.cdra/peak/ Running wget -V GNU Wget 1.5.3 on Sun Solaris 8 Execute wget in a shell script from a telnet window it works fine. The .netrc login file is found and thing work fine. --11:41:23-- ftp://ftp.123.com:21/.cdra/peak/ => `.listing' Connecting to ftp.123.com:21... connected! Logging in as west ... Logged in! ==> TYPE I ... done. ==> CWD .cdra/peak ... done. ==> PORT ... done. ==> LIST ... done. 0K -> 11:41:26 (871.09 KB/s) - `.listing' saved [892] Removed `.listing'. --11:41:26-- ftp://ftp.123.com:21/.cdra/peak/20010228.ca => `20010228.ca' ==> CWD not required. ==> PORT ... done. ==> REST 3172 ... done. ==> RETR 20010228.ca ... done. Length: 3,172 [0 to go] 0K -> ,,, [100%] The same shell script through Oracle Enterprise manager it doesn't seem to find the .netrc and tries to log on as anonymous... --11:34:20-- ftp://ftp.123.com:21/ => `.listing' Connecting to ftp.123.com:21... connected! Logging in as anonymous ... The server refuses login. Retrying. --11:34:20-- ftp://ftp.123.com:21/ (try: 2) => `.listing' Connecting to ftp.123.com:21... connected! Logging in as anonymous ... The server refuses login. Retrying. --11:34:21-- ftp://ftp.123.com:21/ (try: 3) => `.listing' Connecting to ftp.123.com:21... connected! Logging in as anonymous ... The server refuses login. Retrying. Can anyone shed some light on this problem? At first I thought it was because of the .cdra in the path name. Now I am not sure at all. Would love some advise on the best way to debug this problem. Regards, Bill Brown
