--- expect-5.39/example/rftp.orig 2002-09-21 17:45:35 +0300 +++ expect-5.39/example/rftp 2004-02-21 17:13:19 +0200 @@ -113,7 +113,7 @@ } timeout { send_user "timed out on make remote directory $name\n" return 0 - } -re "(257|550.*exists).*ftp>.*" + } -re "(257|553|550.*exists).*ftp>.*" # 550 is returned if directory already exists send "cd $name\r"