[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Script of the ftp



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
This is for the snakes in scripts. I am making one scripts that it
uses the bow will be for sending archives of different varios
directory for ftp, only that I am having a problem of

My scripts is:

!/bin/bash
users=`ls /home/relatorios/`
for user in $users; do
    cd /home/relatorios/$user
    ftp -n 200.228.43.6<<End-Of-Session
    user blablablabla "blabla"
    bin
    prompt
    cd /home/$user/ARQUIVOS
    bye
    EOF
done

erro is: end of file expetend,

some ideas?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
 
iD8DBQFGoRASbjyCr4Ixg0wRAr0aAKCaFyhDbCHx8leEAbbCfsVAuVFURACeLtjv
hhxnkcgFzZk2wdqwc2eS++8=
=pul3
-----END PGP SIGNATURE-----



Reply to: