Finally, i have a problem...
When i put a script on a linux box with WinSCP interface, it works perfrctly and i can execute the script locally on the linu box. But when i put the same script with
winscp /console /script=script.sh where script.sh is :
option batch on
option confirm off
open root@192.168.1.185:22
option transfer binary
cd /etc/rc.d/init.d
! rm -f iptables
put path_to_file/iptables
i can't execute the script locally. I have some interprter problems...
I try a "diff file1 file2" and all lines of my script seems to be different but there is no visible changes...
Could you help me please?