Alien
1
hi, i there any command like wget in terminal?
I generated the script for MT in php, on my linux debian server, and now i need to copy it to files in my MT and run it.
it will be generated automatic once a mounth, and run on my MT, to block users (ip) from my “black list”
thaks for help, and sorry for my english 
Eugene
2
No, you could do only FTP upload from the remote machine.
Alien
3
any ideas how can I do that by automatic?
we can take that I genereted script in my PHP, so I have “file.rsc”
now i need to copy it to MT once a mounth, and I need to automated that process..
My linux serwer is DEBIAN SARGE
and MT v2.9.rc9
thaks for help 
Eugene
4
You should have expect and ftp packages:
# apt-get install expect ftp
Then enter the following script and run it:
#!/usr/bin/expect
set timeout 20
log_user 0
# set these variables for your network
set router "10.0.11.11"
set username "ex"
set password "ex"
set prompt "ftp> "
# filename should be with full path
set file "mytestfile"
send_user "Opening FTP session to $router\n"
spawn ftp $router
expect -re "Name.*:"
send "$username\r"
expect "Password:"
send "$password\r"
expect $prompt
send "bin\r"
expect $prompt {
send_user "Uploading $file\n"
send "put $file\r"
}
expect "$prompt" {
send_user "Exiting\n"
send "quit\r"
}
sleep 2
send "\r"