brigad�o pessoal..
resolvi fazendo um perl da seguinte forma:
---------cut here---------
#!/usr/local/bin/perl5.00503
#
# Send pdf file from local to remote server
#
if ($#ARGV == -1) {
print "Send file from local to remote server \n";
print "Usage: send_file.pl <file-source>
<file-target> <remote-machine> <username>
<password>\n";
exit(-1);
}
$file_source = shift(@ARGV);
$file_target = shift(@ARGV);
$remote = shift(@ARGV);
$username = shift(@ARGV);
$password = shift(@ARGV);
# put the file on remote machine
$cmd = "ftp -n ".$remote." <<END\n";
$cmd = $cmd."user ".$username." ".$password."\n";
$cmd = $cmd."bin\n";
$cmd = $cmd."put ".$file_source." ".file_target."\n";
$cmd = $cmd."bye\n";
$cmd = $cmd."END\n";
system($cmd);
---------cut here---------
infelizmente desta forma a senha fica em aberto, mas
como o rsync n�o est� funcionando, pois d� um problema
de "not enough space", apesar de haver espa�o de sobra
nas parti��es.
[]�s
roger
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
Assinantes em 13/03/2001: 2201
Mensagens recebidas desde 07/01/1999: 103569
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
mailto:[EMAIL PROTECTED]