Strange behavoiur in script.
hi!
I hope you may help me to fix this strange behaviour!
here is the script sequence:
While waiting for reading you, regards,
Pascal.
I hope you may help me to fix this strange behaviour!
here is the script sequence:
The problem is that this script does not end and loops on something like that:option batch abort
option confirm off
open ftp://xxxx:yyyy@192.168.1.160:21 -passive
lcd Out
option transfer binary
cd out
get *.*
close
i 've tried this script on different machines which hosts the same FTP server application. Can the server make winscp loop like that?....
. 2008-12-18 19:38:12.203 Retrieving directory listing...
> 2008-12-18 19:38:12.203 TYPE A
< 2008-12-18 19:38:12.406 200 Type set to A.
> 2008-12-18 19:38:12.406 PASV
< 2008-12-18 19:38:12.593 227 Entering Passive Mode (192,168,1,160,4,231)
> 2008-12-18 19:38:12.593 LIST -a
< 2008-12-18 19:38:12.796 550 No files found.
. 2008-12-18 19:38:12.796 Directory listing successful
. 2008-12-18 19:38:12.796 Retrieving directory listing...
> 2008-12-18 19:38:12.796 TYPE A
< 2008-12-18 19:38:13.000 200 Type set to A.
> 2008-12-18 19:38:13.000 PASV
< 2008-12-18 19:38:13.203 227 Entering Passive Mode (192,168,1,160,4,232)
> 2008-12-18 19:38:13.203 LIST
< 2008-12-18 19:38:13.406 150 Opening ASCII mode data connection for ..
< 2008-12-18 19:38:13.406 226 Transfer complete.
. 2008-12-18 19:38:13.406 Directory listing successful
. 2008-12-18 19:38:13.406 Retrieving directory listing...
> 2008-12-18 19:38:13.406 TYPE A
< 2008-12-18 19:38:13.609 200 Type set to A.
> 2008-12-18 19:38:13.609 PASV
< 2008-12-18 19:38:13.812 227 Entering Passive Mode (192,168,1,160,4,233)
> 2008-12-18 19:38:13.812 LIST
< 2008-12-18 19:38:14.015 150 Opening ASCII mode data connection for ..
< 2008-12-18 19:38:14.015 226 Transfer complete.
. 2008-12-18 19:38:14.015 Directory listing successful
. 2008-12-18 19:38:14.015 Retrieving directory listing...
> 2008-12-18 19:38:14.015 TYPE A
< 2008-12-18 19:38:14.203 200 Type set to A.
> 2008-12-18 19:38:14.203 PASV
< 2008-12-18 19:38:14.406 227 Entering Passive Mode (192,168,1,160,4,234)
> 2008-12-18 19:38:14.406 LIST
< 2008-12-18 19:38:14.609 150 Opening ASCII mode data connection for ..
< 2008-12-18 19:38:14.609 226 Transfer complete.
. 2008-12-18 19:38:14.609 Directory listing successful
.....
While waiting for reading you, regards,
Pascal.