set ftp "c:windrop/scripts/lftp/lftp.exe"
....
set test "exec $ftprg"
puts $test "open $ftpdest"
...
/[code]
i get the return: [01:40] TCL error [ftp-test]: can not find channel named "exec C:/windrop/scripts/lftp/lftp.exe"
Anyone got any ideas or suggestions?
check out this script for the correct way to do exec... beware - if the program you call does not return for any reason, the bot will time out in infinate loop.