a4f70d8 created the issue
Please add to Applescript dictionary command to switch mode of connection Active/Passive.
In present version (2.6.2) isn't this command and default mode is set to "passive".
My suggestion:
....connect to "192.168.0.1" with protocol "ftp" with connect mode "active" as user "kokoska"....
or
...set connect mode to "active"