Ok! I found solution to my problem. But the new problem appeared.
When I run command /tool fetch address=192.168.0.100 src-path=1 user=user mode=ftp password=pass upload=yes dst-path=1 It works ok. File 1 is transmitted successfully.
But in script this instruction isn't executed. File 1 is created on the external ftp server and has 0 size.