Hi all.... sorry for this very long delay, but I went on a trip.
After acknowledging the anwser of Zaxxon, I realized that I could solve my particulary problem by writing two scripts on the two servers I wanted to copy from using ftp, since the issue was that I could not connect through ftp from server 1 (the server I needed to
copy to), but it was possible to connect through ftp from the other servers (the ones I wanted to
copy from).
Hope this is not confusing....
Anyway, by writing this
two scripts, and using the put command, I worked out my problem in time so I could go on my vacations without a guilty conscience...
But ofcourse the ideia was to write just
one script on the main server, so thats why I posted this question, but it seemes that ssh and sftp will not allow to work in scripts without promping the user and password, only the use of public/private keys...
Anyway, and once again, your help was preciouse and again sorry for so late replay from me.
Thank you all
P.S. By the way, in case I could not use ftp on either direction, and the use of public/private keys was not an option (case where the server are crucial and very sensible to errors one might do, and the perimission to mingle with the .ssh directory is not recommended) there is absolutly no way to write scripts capable of copying files from other servers??!! Just a question, since I found nothing satisfying on net....