
waltterm2303
(usa Suse)
Enviado em 04/04/2012 - 10:31h
Estou conectando numa maquina deve ser linux , para fazer um ftp e jogar alguns arquivos meu script esta desta forma
cd /home/xxxx
ftp -ivn <<EOF
open 192.168.15.100
user xxxxx *******
put $variavel
put $variavel1
bye
EOF
So que o retorno do select da esta msg , se fizer o mesmo select na mao passando conecta
WebMig:/home/postgres # ftp 192.168.15.100
Connected to 192.168.15.100.
220 Microsoft FTP Service
Name (192.168.15.100:postgres): @@@@@@\xxxxx
331 Password required for @@@@@@\xxxxx.
Password:
230 User @@@@@@\xxxxxx logged in.
Remote system type is Windows_NT.
ftp>
mais quando faco por script da a msg abaixo
Connected to 192.168.15.100.
220 Microsoft FTP Service
331 Password required for xxxxx.
530 User xxxx cannot log in.
Login failed.
?Invalid command.
500 'EPSV': command not understood
530 Please login with USER and PASS.
530 Please login with USER and PASS.
ftp: bind: Address already in use
(local-file) (remote-file) 221