a shell for automatic download always give error
please help!!!!!!!!!!!!!!!!!!!!! I have been spending a several days on this. I have created the .netrc file
machine ***.net
username anonymous
password lanshanhongye
When I source .netrc
it shows that
-bash: machine: command not found
So that I add the user name and password into the shell file as follows
!/bin/bash
ftp -i <<!
open ####.net
anonymous
lanshanhongye
binary
cd /pub/
lcd /disk2/pub
prompt
mget *
bye
!
Please login with USER and PASS.
Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
?Invalid command
?Invalid command
Thanks in advance!!!!!:(:(