Strange behavoiur in script.

Advertisement

Guest

Strange behavoiur in script.

hi!
I hope you may help me to fix this strange behaviour!
here is the script sequence:
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
The problem is that this script does not end and loops on something 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
.....
i 've tried this script on different machines which hosts the same FTP server application. Can the server make winscp loop like that?

While waiting for reading you, regards,

Pascal.

Reply with quote

Advertisement

pascalb
Joined:
Posts:
2

the log

hi!
here is the beging of the script:
. 2008-12-18 19:38:10.609 --------------------------------------------------------------------------
. 2008-12-18 19:38:10.609 WinSCP Version 4.1.8 (Build 415) (OS 5.1.2600 Service Pack 3)
. 2008-12-18 19:38:10.609 Login time: jeudi 18 décembre 2008 19:38:10
. 2008-12-18 19:38:10.609 --------------------------------------------------------------------------
. 2008-12-18 19:38:10.609 Session name: prologue@192.168.1.160
. 2008-12-18 19:38:10.609 Host name: 192.168.1.160 (Port: 21)
. 2008-12-18 19:38:10.609 User name: prologue (Password: Yes, Key file: No)
. 2008-12-18 19:38:10.609 Tunnel: No
. 2008-12-18 19:38:10.609 Transfer Protocol: FTP
. 2008-12-18 19:38:10.609 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2008-12-18 19:38:10.609 Proxy: none
. 2008-12-18 19:38:10.609 FTP: Passive: Yes
. 2008-12-18 19:38:10.609 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-12-18 19:38:10.609 Cache directory changes: Yes, Permanent: Yes
. 2008-12-18 19:38:10.609 DST mode: 1
. 2008-12-18 19:38:10.609 --------------------------------------------------------------------------
. 2008-12-18 19:38:10.625 Connecting to 192.168.1.160 ...
. 2008-12-18 19:38:10.625 Connected with 192.168.1.160. Waiting for welcome message...
< 2008-12-18 19:38:10.796 220 host TwinServer FTP server (Version 1.2a) ready.
> 2008-12-18 19:38:10.796 USER prologue
< 2008-12-18 19:38:10.984 331 Password required for prologue.
> 2008-12-18 19:38:10.984 PASS ****
< 2008-12-18 19:38:11.187 230 User prologue logged in.
> 2008-12-18 19:38:11.187 SYST
< 2008-12-18 19:38:11.390 215 TwinServer Type: L8 Version: V5.3b
> 2008-12-18 19:38:11.390 FEAT
< 2008-12-18 19:38:11.593 500 'FEAT': command not understood.
. 2008-12-18 19:38:11.593 Connected
. 2008-12-18 19:38:11.593 --------------------------------------------------------------------------
. 2008-12-18 19:38:11.593 Using FTP protocol.
. 2008-12-18 19:38:11.593 Doing startup conversation with host.
> 2008-12-18 19:38:11.593 PWD
< 2008-12-18 19:38:11.796 257 "/md0/" is current directory.
. 2008-12-18 19:38:11.796 Getting current directory name.
. 2008-12-18 19:38:11.796 Startup conversation with host finished.
. 2008-12-18 19:38:11.796 Changing directory to "scout".
> 2008-12-18 19:38:11.796 CWD scout
< 2008-12-18 19:38:12.000 250 CWD command successful.
. 2008-12-18 19:38:12.000 Getting current directory name.
> 2008-12-18 19:38:12.000 PWD
< 2008-12-18 19:38:12.203 257 "/md0/scout/" is current directory.
. 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
...
I hope this may help you to find something out!!
thanks for you help,
Pascal.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum