FTP Module cannot show directory listing on an AS/400

Advertisement

blaugrantler
Guest

FTP Module cannot show directory listing on an AS/400

FTP Module cannot show directory listing on an IBM AS/400. This is working with filezilla.

Reply with quote

Advertisement

blaugrantler
Joined:
Posts:
7

Re: FTP Module cannot show directory listing on an AS/400

martin wrote:

What does it do?

WinSCP Version: 4.0.3
Protocol: FTP
Interface Style: Norton Commander
Error Description: you get an blank window and no listing

debug log:

. 2007-08-09 09:38:12.848 --------------------------------------------------------------------------
. 2007-08-09 09:38:12.848 WinSCP Version 4.0.3 (Build 345) (OS 5.1.2600 Service Pack 2)
. 2007-08-09 09:38:12.848 Login time: Donnerstag, 9. August 2007 09:38:12
. 2007-08-09 09:38:12.848 --------------------------------------------------------------------------
. 2007-08-09 09:38:12.848 Session name: XXX@YYYYY (FTP)
. 2007-08-09 09:38:12.848 Host name: YYYYY (Port: 21)
. 2007-08-09 09:38:12.848 User name: XXX (Password: Yes, Key file: No)
. 2007-08-09 09:38:12.848 Tunnel: No
. 2007-08-09 09:38:12.868 Transfer Protocol: FTP
. 2007-08-09 09:38:12.868 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2007-08-09 09:38:12.868 Proxy: none
. 2007-08-09 09:38:12.868 FTP: Passive: No
. 2007-08-09 09:38:12.868 Local directory: default, Remote directory: /standard/expdata/, Update: No, Cache: Yes
. 2007-08-09 09:38:12.868 Cache directory changes: Yes, Permanent: Yes
. 2007-08-09 09:38:12.868 DST mode: 1
. 2007-08-09 09:38:12.868 --------------------------------------------------------------------------
. 2007-08-09 09:38:12.948 Connecting to YYYYY ...
. 2007-08-09 09:38:12.948 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x01d29b50
. 2007-08-09 09:38:12.958 Connected with YYYYY. Waiting for welcome message...
. 2007-08-09 09:38:12.958 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x01d29b50
< 2007-08-09 09:38:12.958 220-QTCP at YYYYY.
. 2007-08-09 09:38:13.088 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x01d29b50
< 2007-08-09 09:38:13.088 220 Connection will close if idle more than 5 minutes.
> 2007-08-09 09:38:13.088 USER XXX
. 2007-08-09 09:38:13.128 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x01d29b50
< 2007-08-09 09:38:13.128 331 Enter password.
> 2007-08-09 09:38:13.128 PASS ******
. 2007-08-09 09:38:13.198 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x01d29b50
< 2007-08-09 09:38:13.198 230 XXX logged on.
> 2007-08-09 09:38:13.198 SYST
. 2007-08-09 09:38:13.228 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x01d29b50
< 2007-08-09 09:38:13.228 215 OS/400 is the remote operating system. The TCP/IP version is "V5R3M0".
> 2007-08-09 09:38:13.228 FEAT
. 2007-08-09 09:38:13.268 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01d29b50
< 2007-08-09 09:38:13.268 211-Feature listing follows:
. 2007-08-09 09:38:13.559 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01d29b50
< 2007-08-09 09:38:13.559 AUTH TLS
< 2007-08-09 09:38:13.559 PBSZ
< 2007-08-09 09:38:13.559 PROT
< 2007-08-09 09:38:13.559 211 End of feature listing.
. 2007-08-09 09:38:13.559 Connected
. 2007-08-09 09:38:13.559 FtpControlSocket.cpp(4180): ResetOperation(1) OpMode=1 OpState=-13 caller=0x01d29b50
. 2007-08-09 09:38:13.559 Got reply 1 to the command 1
. 2007-08-09 09:38:13.559 --------------------------------------------------------------------------
. 2007-08-09 09:38:13.559 Using FTP protocol.
. 2007-08-09 09:38:13.559 Doing startup conversation with host.
. 2007-08-09 09:38:13.559 FtpControlSocket.cpp(1269): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x01d29b50
> 2007-08-09 09:38:13.559 PWD
. 2007-08-09 09:38:13.589 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01d29b50
< 2007-08-09 09:38:13.589 257 "QGPL" is current library.
. 2007-08-09 09:38:13.589 FtpControlSocket.cpp(4180): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01d29b50
. 2007-08-09 09:38:13.589 Got reply 1 to the command 16
. 2007-08-09 09:38:13.589 Changing directory to "/standard/expdata/".
. 2007-08-09 09:38:13.589 Synchronizing current directory "QGPL".
. 2007-08-09 09:38:13.589 FtpControlSocket.cpp(1269): FtpCommand(CWD QGPL) OpMode=0 OpState=-1 caller=0x01d29b50
> 2007-08-09 09:38:13.589 CWD QGPL
. 2007-08-09 09:38:13.639 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01d29b50
< 2007-08-09 09:38:13.639 250 "QGPL" is current library.
. 2007-08-09 09:38:13.639 FtpControlSocket.cpp(4180): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01d29b50
. 2007-08-09 09:38:13.639 Got reply 1 to the command 16
. 2007-08-09 09:38:13.639 FtpControlSocket.cpp(1269): FtpCommand(CWD /standard/expdata/) OpMode=0 OpState=-1 caller=0x01d29b50
> 2007-08-09 09:38:13.639 CWD /standard/expdata/
. 2007-08-09 09:38:13.669 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01d29b50
< 2007-08-09 09:38:13.669 501 File must be specified by library/file.member.
. 2007-08-09 09:38:13.669 FtpControlSocket.cpp(4180): ResetOperation(4) OpMode=2 OpState=-1 caller=0x01d29b50
. 2007-08-09 09:38:13.669 Got reply 4 to the command 16
* 2007-08-09 09:38:13.669 (ECommand) Error changing directory to '/standard/expdata/'.
* 2007-08-09 09:38:13.669 File must be specified by library/file.member.
. 2007-08-09 09:40:02.369 Getting current directory name.
> 2007-08-09 09:40:02.369 PWD
. 2007-08-09 09:40:02.369 FtpControlSocket.cpp(878): OnReceive(0) OpMode=0 OpState=-1 caller=0x01d29b50
< 2007-08-09 09:40:02.369 257 "QGPL" is current library.
> 2007-08-09 09:40:02.369 TYPE A
. 2007-08-09 09:40:02.369 FtpControlSocket.cpp(878): OnReceive(0) OpMode=0 OpState=-1 caller=0x01d29b50
< 2007-08-09 09:40:02.369 200 Representation type is ASCII nonprint.
> 2007-08-09 09:40:02.369 TYPE I
. 2007-08-09 09:40:02.369 FtpControlSocket.cpp(878): OnReceive(0) OpMode=0 OpState=-1 caller=0x01d29b50
< 2007-08-09 09:40:02.369 200 Representation type is binary IMAGE.
. 2007-08-09 09:40:02.369 FtpControlSocket.cpp(1276): List(FALSE,0,"/QGPL/QGPL/","",1) OpMode=0 OpState=-1 caller=0x01d29b50
. 2007-08-09 09:40:02.369 Retrieving directory listing...
> 2007-08-09 09:40:02.369 CWD /QGPL/QGPL/
. 2007-08-09 09:40:02.389 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=1 caller=0x01d29b50
< 2007-08-09 09:40:02.389 501 File must be specified by library/file.member.
. 2007-08-09 09:40:02.389 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x01d29b50
. 2007-08-09 09:40:02.389 FtpControlSocket.cpp(4180): ResetOperation(4) OpMode=4 OpState=2 caller=0x01d29b50
. 2007-08-09 09:40:02.389 Could not retrieve directory listing
. 2007-08-09 09:40:02.389 Got reply 4 to the command 2
* 2007-08-09 09:40:02.389 (ECommand) Error listing directory 'QGPL'.
* 2007-08-09 09:40:02.389 Could not retrieve directory listing
* 2007-08-09 09:40:02.389 File must be specified by library/file.member.
. 2007-08-09 09:40:16.029 Startup conversation with host finished.
. 2007-08-09 09:40:16.940 Session upkeep
. 2007-08-09 09:40:17.441 Session upkeep
. 2007-08-09 09:40:17.941 Session upkeep
. 2007-08-09 09:40:18.442 Session upkeep
. 2007-08-09 09:40:18.943 Session upkeep
. 2007-08-09 09:40:19.444 Session upkeep
. 2007-08-09 09:40:19.944 Session upkeep
. 2007-08-09 09:40:20.445 Session upkeep
. 2007-08-09 09:40:20.946 Session upkeep
. 2007-08-09 09:40:21.447 Session upkeep
. 2007-08-09 09:40:21.947 Session upkeep
. 2007-08-09 09:40:22.448 Session upkeep
. 2007-08-09 09:40:22.949 Session upkeep
. 2007-08-09 09:40:23.450 Session upkeep
. 2007-08-09 09:40:23.950 Session upkeep
. 2007-08-09 09:40:24.451 Session upkeep
. 2007-08-09 09:40:24.952 Session upkeep

Reply with quote

martin
Site Admin
martin avatar

Re: FTP Module cannot show directory listing on an AS/400

OK, I see. WinSCP is not capable of handling AS/400 path names yet.

Reply with quote

blaugrantler
Joined:
Posts:
7

Re: FTP Module cannot show directory listing on an AS/400

martin wrote:

OK, I see. WinSCP is not capable of handling AS/400 path names yet.
Hi,

if you need help for testing, let me know.

Reply with quote

Advertisement

Hooch
Guest

The same goes for Solaris I think

. 2007-08-23 10:44:59.930 --------------------------------------------------------------------------
. 2007-08-23 10:44:59.930 WinSCP Version 4.0.3 (Build 345) (OS 5.1.2600 Service Pack 2)
. 2007-08-23 10:44:59.930 Login time: 23 August 2007 10:44:59
. 2007-08-23 10:44:59.930 --------------------------------------------------------------------------
. 2007-08-23 10:44:59.930 Session name: <hidden>
. 2007-08-23 10:44:59.930 Host name: <hidden> (Port: xx)
. 2007-08-23 10:44:59.945 User name: <hidden> (Password: Yes, Key file: No)
. 2007-08-23 10:44:59.945 Tunnel: No
. 2007-08-23 10:44:59.945 Transfer Protocol: FTP
. 2007-08-23 10:44:59.945 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2007-08-23 10:44:59.945 Proxy: none
. 2007-08-23 10:44:59.945 FTP: Passive: No
. 2007-08-23 10:44:59.945 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2007-08-23 10:44:59.945 Cache directory changes: Yes, Permanent: Yes
. 2007-08-23 10:44:59.945 DST mode: 1
. 2007-08-23 10:44:59.945 --------------------------------------------------------------------------
. 2007-08-23 10:44:59.992 Connecting to <hidden>:xx ...
. 2007-08-23 10:45:00.008 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x01d5fdf0
. 2007-08-23 10:45:00.008 Connected with <hidden>:xx. Waiting for welcome message...
. 2007-08-23 10:45:00.023 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x01d5fdf0
< 2007-08-23 10:45:00.023 SSH-1.99-OpenSSH_3.7.1p2
. 2007-08-23 10:45:15.935 Timeout detected.
. 2007-08-23 10:45:15.935 FtpControlSocket.cpp(1199): DoClose(0) OpMode=1 OpState=-1 caller=0x01d5fdf0
. 2007-08-23 10:45:15.935 FtpControlSocket.cpp(4180): ResetOperation(4100) OpMode=1 OpState=-1 caller=0x01d5fdf0
. 2007-08-23 10:45:15.935 Connection failed.
. 2007-08-23 10:45:15.935 Got reply 1004 to the command 1
* 2007-08-23 10:45:15.935 (ESshFatal) Connection failed.
* 2007-08-23 10:45:15.935 Timeout detected.
* 2007-08-23 10:45:15.935 Connection failed.
* 2007-08-23 10:45:15.935 SSH-1.99-OpenSSH_3.7.1p2

Reply with quote

blaugrantler
Joined:
Posts:
7

FTP Module cannot show directory listing on an AS/400 again

WinSCP Version: 4.0.4
Protocol: FTP
Interface Style: Norton Commander
Error Description: you get an blank window and no listing

debug log:

. 2007-09-06 08:06:22.592 --------------------------------------------------------------------------
. 2007-09-06 08:06:22.592 WinSCP Version 4.0.4 (Build 346) (OS 5.1.2600 Service Pack 2)
. 2007-09-06 08:06:22.592 Login time: Donnerstag, 6. September 2007 08:06:22
. 2007-09-06 08:06:22.592 --------------------------------------------------------------------------
. 2007-09-06 08:06:22.592 Session name: XXX@YYYY (FTP)
. 2007-09-06 08:06:22.592 Host name: YYYY (Port: 21)
. 2007-09-06 08:06:22.592 User name: XXX (Password: Yes, Key file: No)
. 2007-09-06 08:06:22.592 Tunnel: No
. 2007-09-06 08:06:22.592 Transfer Protocol: FTP
. 2007-09-06 08:06:22.592 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2007-09-06 08:06:22.592 Proxy: none
. 2007-09-06 08:06:22.592 FTP: Passive: No
. 2007-09-06 08:06:22.592 Local directory: default, Remote directory: /standard/expdata/, Update: No, Cache: Yes
. 2007-09-06 08:06:22.592 Cache directory changes: Yes, Permanent: Yes
. 2007-09-06 08:06:22.592 DST mode: 1
. 2007-09-06 08:06:22.592 --------------------------------------------------------------------------
. 2007-09-06 08:06:22.642 Connecting to YYYY ...
. 2007-09-06 08:06:22.772 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:22.782 Connected with YYYY. Waiting for welcome message...
. 2007-09-06 08:06:22.973 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x01d5762c
< 2007-09-06 08:06:22.973 220-QTCP at YYYY.
. 2007-09-06 08:06:23.213 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x01d5762c
< 2007-09-06 08:06:23.213 220 Connection will close if idle more than 5 minutes.
> 2007-09-06 08:06:23.213 USER XXX
. 2007-09-06 08:06:23.273 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x01d5762c
< 2007-09-06 08:06:23.273 331 Enter password.
> 2007-09-06 08:06:23.273 PASS ******
. 2007-09-06 08:06:23.373 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x01d5762c
< 2007-09-06 08:06:23.373 230 XXX logged on.
> 2007-09-06 08:06:23.373 SYST
. 2007-09-06 08:06:23.403 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x01d5762c
< 2007-09-06 08:06:23.403 215 OS/400 is the remote operating system. The TCP/IP version is "V5R3M0".
> 2007-09-06 08:06:23.403 FEAT
. 2007-09-06 08:06:23.493 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01d5762c
< 2007-09-06 08:06:23.493 211-Feature listing follows:
. 2007-09-06 08:06:23.694 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01d5762c
< 2007-09-06 08:06:23.694 AUTH TLS
< 2007-09-06 08:06:23.694 PBSZ
< 2007-09-06 08:06:23.694 PROT
< 2007-09-06 08:06:23.694 211 End of feature listing.
. 2007-09-06 08:06:23.704 Connected
. 2007-09-06 08:06:23.704 FtpControlSocket.cpp(4180): ResetOperation(1) OpMode=1 OpState=-13 caller=0x01d5762c
. 2007-09-06 08:06:23.704 Got reply 1 to the command 1
. 2007-09-06 08:06:23.704 --------------------------------------------------------------------------
. 2007-09-06 08:06:23.704 Using FTP protocol.
. 2007-09-06 08:06:23.704 Doing startup conversation with host.
. 2007-09-06 08:06:23.704 FtpControlSocket.cpp(1269): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x01d5762c
> 2007-09-06 08:06:23.704 PWD
. 2007-09-06 08:06:23.804 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01d5762c
< 2007-09-06 08:06:23.964 257 "QGPL" is current library.
. 2007-09-06 08:06:23.964 FtpControlSocket.cpp(4180): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:23.964 Got reply 1 to the command 16
. 2007-09-06 08:06:23.974 Changing directory to "/standard/expdata/".
. 2007-09-06 08:06:23.974 Synchronizing current directory "QGPL".
. 2007-09-06 08:06:23.974 FtpControlSocket.cpp(1269): FtpCommand(CWD QGPL) OpMode=0 OpState=-1 caller=0x01d5762c
> 2007-09-06 08:06:23.974 CWD QGPL
. 2007-09-06 08:06:24.034 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01d5762c
< 2007-09-06 08:06:24.034 250 "QGPL" is current library.
. 2007-09-06 08:06:24.034 FtpControlSocket.cpp(4180): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:24.034 Got reply 1 to the command 16
. 2007-09-06 08:06:24.034 FtpControlSocket.cpp(1269): FtpCommand(CWD /standard/expdata/) OpMode=0 OpState=-1 caller=0x01d5762c
> 2007-09-06 08:06:24.034 CWD /standard/expdata/
. 2007-09-06 08:06:24.104 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01d5762c
< 2007-09-06 08:06:24.124 501 File must be specified by library/file.member.
. 2007-09-06 08:06:24.124 FtpControlSocket.cpp(4180): ResetOperation(4) OpMode=2 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:24.124 Got reply 4 to the command 16
* 2007-09-06 08:06:24.124 (ECommand) Error changing directory to '/standard/expdata/'.
* 2007-09-06 08:06:24.124 File must be specified by library/file.member.
. 2007-09-06 08:06:25.456 Getting current directory name.
. 2007-09-06 08:06:25.456 FtpControlSocket.cpp(1276): List(FALSE,0,"/QGPL/QGPL/","",1) OpMode=0 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:25.456 Retrieving directory listing...
> 2007-09-06 08:06:25.456 CWD /QGPL/QGPL/
. 2007-09-06 08:06:25.516 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=1 caller=0x01d5762c
< 2007-09-06 08:06:25.516 501 File must be specified by library/file.member.
. 2007-09-06 08:06:25.516 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x01d5762c
. 2007-09-06 08:06:25.516 FtpControlSocket.cpp(4180): ResetOperation(4) OpMode=4 OpState=2 caller=0x01d5762c
. 2007-09-06 08:06:25.516 Could not retrieve directory listing
. 2007-09-06 08:06:25.516 Got reply 4 to the command 2
. 2007-09-06 08:06:25.516 FtpControlSocket.cpp(1276): List(FALSE,0,"/QGPL/QGPL/","",1) OpMode=0 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:25.516 Retrieving directory listing...
> 2007-09-06 08:06:25.516 CWD /QGPL/QGPL/
. 2007-09-06 08:06:25.536 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=1 caller=0x01d5762c
< 2007-09-06 08:06:25.536 501 File must be specified by library/file.member.
. 2007-09-06 08:06:25.536 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x01d5762c
. 2007-09-06 08:06:25.536 FtpControlSocket.cpp(4180): ResetOperation(4) OpMode=4 OpState=2 caller=0x01d5762c
. 2007-09-06 08:06:25.536 Could not retrieve directory listing
. 2007-09-06 08:06:25.536 Got reply 4 to the command 2
* 2007-09-06 08:06:25.536 (ECommand) Error listing directory 'QGPL'.
* 2007-09-06 08:06:25.536 Could not retrieve directory listing
* 2007-09-06 08:06:25.536 File must be specified by library/file.member.
. 2007-09-06 08:06:26.227 Startup conversation with host finished.
. 2007-09-06 08:06:26.978 Session upkeep
. 2007-09-06 08:06:27.479 Session upkeep
. 2007-09-06 08:06:27.980 Session upkeep
. 2007-09-06 08:06:28.481 Session upkeep
. 2007-09-06 08:06:28.981 Session upkeep
. 2007-09-06 08:06:29.482 Session upkeep
. 2007-09-06 08:06:29.983 Session upkeep
. 2007-09-06 08:06:30.483 Session upkeep
. 2007-09-06 08:06:30.984 Session upkeep
. 2007-09-06 08:06:31.485 Session upkeep
. 2007-09-06 08:06:47.408 FtpControlSocket.cpp(1199): DoClose(0) OpMode=1024 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:47.408 FtpControlSocket.cpp(4180): ResetOperation(4100) OpMode=1024 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:47.408 Got reply 1004 to the command 2
. 2007-09-06 08:06:47.408 Disconnected from server
. 2007-09-06 08:06:47.408 FtpControlSocket.cpp(181): ~CFtpControlSocket() caller=0x01d5762c
. 2007-09-06 08:06:47.408 FtpControlSocket.cpp(1199): DoClose(0) OpMode=0 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:47.408 FtpControlSocket.cpp(4180): ResetOperation(4100) OpMode=0 OpState=-1 caller=0x01d5762c
. 2007-09-06 08:06:47.408 ControlSocket.cpp(89): ~CControlSocket() caller=0x01d5762c

Reply with quote

blaugrantler
Joined:
Posts:
7

FTP Module cannot show directory listing on an AS/400 again

Still the same problem with the actuell version.

WinSCP Version: 4.0.5
Protocol: FTP
Interface Style: Norton Commander
Error Description: you get an blank window and no listing

debug log:

. 2007-11-08 11:56:31.384 --------------------------------------------------------------------------
. 2007-11-08 11:56:31.384 WinSCP Version 4.0.5 (Build 354) (OS 5.1.2600 Service Pack 2)
. 2007-11-08 11:56:31.384 Login time: Donnerstag, 8. November 2007 11:56:31
. 2007-11-08 11:56:31.384 --------------------------------------------------------------------------
. 2007-11-08 11:56:31.384 Session name: XXX@YYYY (FTP)
. 2007-11-08 11:56:31.384 Host name: YYYY (Port: 21)
. 2007-11-08 11:56:31.384 User name: XXX (Password: Yes, Key file: No)
. 2007-11-08 11:56:31.384 Tunnel: No
. 2007-11-08 11:56:31.384 Transfer Protocol: FTP
. 2007-11-08 11:56:31.384 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2007-11-08 11:56:31.384 Proxy: none
. 2007-11-08 11:56:31.384 FTP: Passive: Yes
. 2007-11-08 11:56:31.384 Local directory: c:\temp, Remote directory: /standard/expdata/, Update: No, Cache: Yes
. 2007-11-08 11:56:31.384 Cache directory changes: Yes, Permanent: Yes
. 2007-11-08 11:56:31.384 DST mode: 1
. 2007-11-08 11:56:31.384 --------------------------------------------------------------------------
. 2007-11-08 11:56:31.434 Verbinde mit YYYY ...
. 2007-11-08 11:56:31.714 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x01dce408
. 2007-11-08 11:56:31.724 Verbunden mit YYYY. erwarte Willkommensnachricht ...
. 2007-11-08 11:56:31.904 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x01dce408
< 2007-11-08 11:56:31.904 220-QTCP at YYYY.
. 2007-11-08 11:56:32.175 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x01dce408
< 2007-11-08 11:56:32.175 220 Connection will close if idle more than 5 minutes.
> 2007-11-08 11:56:32.175 USER XXX
. 2007-11-08 11:56:32.195 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x01dce408
< 2007-11-08 11:56:32.195 331 Enter password.
> 2007-11-08 11:56:32.195 PASS ******
. 2007-11-08 11:56:32.295 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x01dce408
< 2007-11-08 11:56:32.295 230 XXX logged on.
> 2007-11-08 11:56:32.295 SYST
. 2007-11-08 11:56:32.455 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x01dce408
< 2007-11-08 11:56:32.535 215 OS/400 is the remote operating system. The TCP/IP version is "V5R3M0".
> 2007-11-08 11:56:32.535 FEAT
. 2007-11-08 11:56:32.535 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01dce408
< 2007-11-08 11:56:32.535 211-Feature listing follows:
. 2007-11-08 11:56:32.816 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01dce408
< 2007-11-08 11:56:32.816 AUTH TLS
< 2007-11-08 11:56:32.816 PBSZ
< 2007-11-08 11:56:32.816 PROT
< 2007-11-08 11:56:32.816 211 End of feature listing.
. 2007-11-08 11:56:32.816 Verbunden
. 2007-11-08 11:56:32.816 FtpControlSocket.cpp(4184): ResetOperation(1) OpMode=1 OpState=-13 caller=0x01dce408
. 2007-11-08 11:56:32.816 Got reply 1 to the command 1
. 2007-11-08 11:56:32.816 --------------------------------------------------------------------------
. 2007-11-08 11:56:32.816 Using FTP protocol.
. 2007-11-08 11:56:33.046 Doing startup conversation with host.
. 2007-11-08 11:56:33.056 FtpControlSocket.cpp(1269): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x01dce408
> 2007-11-08 11:56:33.056 PWD
. 2007-11-08 11:56:33.246 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01dce408
< 2007-11-08 11:56:33.246 257 "QGPL" is current library.
. 2007-11-08 11:56:33.246 FtpControlSocket.cpp(4184): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01dce408
. 2007-11-08 11:56:33.246 Got reply 1 to the command 16
. 2007-11-08 11:56:33.257 Changing directory to "/standard/expdata/".
. 2007-11-08 11:56:33.257 Synchronizing current directory "QGPL".
. 2007-11-08 11:56:33.257 FtpControlSocket.cpp(1269): FtpCommand(CWD QGPL) OpMode=0 OpState=-1 caller=0x01dce408
> 2007-11-08 11:56:33.257 CWD QGPL
. 2007-11-08 11:56:34.899 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01dce408
< 2007-11-08 11:56:34.899 250 "QGPL" is current library.
. 2007-11-08 11:56:34.899 FtpControlSocket.cpp(4184): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01dce408
. 2007-11-08 11:56:34.899 Got reply 1 to the command 16
. 2007-11-08 11:56:34.899 FtpControlSocket.cpp(1269): FtpCommand(CWD /standard/expdata/) OpMode=0 OpState=-1 caller=0x01dce408
> 2007-11-08 11:56:34.899 CWD /standard/expdata/
. 2007-11-08 11:56:34.939 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01dce408
< 2007-11-08 11:56:34.939 501 File must be specified by library/file.member.
. 2007-11-08 11:56:34.939 FtpControlSocket.cpp(4184): ResetOperation(4) OpMode=2 OpState=-1 caller=0x01dce408
. 2007-11-08 11:56:34.939 Got reply 4 to the command 16
* 2007-11-08 11:56:34.939 (ECommand) Fehler beim Wechseln in Verzeichnis '/standard/expdata/'.
* 2007-11-08 11:56:34.939 File must be specified by library/file.member.
. 2007-11-08 11:56:34.999 Session upkeep
. 2007-11-08 11:56:35.300 Session upkeep
. 2007-11-08 11:56:35.800 Session upkeep
. 2007-11-08 11:56:36.181 Getting current directory name.
. 2007-11-08 11:56:36.181 FtpControlSocket.cpp(1276): List(FALSE,0,"/QGPL/QGPL/","",1) OpMode=0 OpState=-1 caller=0x01dce408
. 2007-11-08 11:56:36.181 Rufe Verzeichnisinhalt ab...
> 2007-11-08 11:56:36.181 CWD /QGPL/QGPL/
. 2007-11-08 11:56:36.281 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=1 caller=0x01dce408
< 2007-11-08 11:56:36.281 501 File must be specified by library/file.member.
. 2007-11-08 11:56:36.281 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x01dce408
. 2007-11-08 11:56:36.281 FtpControlSocket.cpp(4184): ResetOperation(4) OpMode=4 OpState=2 caller=0x01dce408
. 2007-11-08 11:56:36.281 Konnte Verzeichnisinhalt nicht abrufen
. 2007-11-08 11:56:36.281 Got reply 4 to the command 2
. 2007-11-08 11:56:36.281 FtpControlSocket.cpp(1276): List(FALSE,0,"/QGPL/QGPL/","",1) OpMode=0 OpState=-1 caller=0x01dce408
. 2007-11-08 11:56:36.281 Rufe Verzeichnisinhalt ab...
> 2007-11-08 11:56:36.281 CWD /QGPL/QGPL/
. 2007-11-08 11:56:36.532 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=1 caller=0x01dce408
< 2007-11-08 11:56:36.532 501 File must be specified by library/file.member.
. 2007-11-08 11:56:36.532 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x01dce408
. 2007-11-08 11:56:36.532 FtpControlSocket.cpp(4184): ResetOperation(4) OpMode=4 OpState=2 caller=0x01dce408
. 2007-11-08 11:56:36.532 Konnte Verzeichnisinhalt nicht abrufen
. 2007-11-08 11:56:36.532 Got reply 4 to the command 2
* 2007-11-08 11:56:36.532 (ECommand) Fehler beim Anzeigen des Verzeichnisses "QGPL".
* 2007-11-08 11:56:36.532 Konnte Verzeichnisinhalt nicht abrufen
* 2007-11-08 11:56:36.532 File must be specified by library/file.member.
. 2007-11-08 11:56:36.562 Session upkeep
. 2007-11-08 11:56:36.802 Session upkeep
. 2007-11-08 11:56:37.203 Startup conversation with host finished.
. 2007-11-08 11:56:37.243 Session upkeep :o :(

Reply with quote

Advertisement

blaugrantler
Joined:
Posts:
7

Re: FTP Module cannot show directory listing on an AS/400 ag

martin wrote:

Can you post a log file of Filezilla too?

I will do it next week, maybe on Monday.

Reply with quote

blaugrantler
Joined:
Posts:
7

log file from filezilla

Here is the log from filezilla. I hope it helps you, it dasn't look very nice.


{\rtf1\ansi\deff0{\fonttbl{\f0\fnil MS Shell Dlg;}}{\colortbl ;\red255\green255\blue255;\red0\green0\blue0;\red0\green0\blue128;\red0\green128\blue0;\red255\green0\blue0;\red128\green0\blue0;\red128\green0\blue128;\red128\green128\blue0;\red255\green255\blue0;\red0\green255\blue0;\red0\green128\blue128;\red0\green255\blue255;\red0\green0\blue255;\red255\green0\blue255;\red128\green128\blue128;\red192\green192\blue192;}\uc1\pard\fi-1100\li1100\tx1100\f0\fs16\cf8FileZilla started (11/12/2007 10:51:12)\par\cf3Command:\tab TYPE I\par\cf4Response:\tab 200 Representation type is binary IMAGE.\par\cf3Command:\tab TYPE A\par\cf4Response:\tab 200 Representation type is ASCII nonprint.\par\cf2Status:\tab Retrieving directory listing...\par\cf3Command:\tab CWD save\par\cf4Response:\tab 250 "/standard/expdata/silag/save" is current directory.\par\cf3Command:\tab PWD\par\cf4Response:\tab 257 "/standard/expdata/silag/save" is current directory.\par\cf3Command:\tab TYPE A\par\cf4Response:\tab 200 Representation type is ASCII nonprint.\par\cf3Command:\tab PASV\par\cf4Response:\tab 227 Entering Passive Mode (10,99,31,10,31,14).\par\cf3Command:\tab LIST\par\cf4Response:\tab 125 No files found in directory /standard/expdata/silag/save\par\cf4Response:\tab 250 List completed.\par\cf2Status:\tab Directory listing successful\par\cf3Command:\tab TYPE A\par\cf4Response:\tab 200 Representation type is ASCII nonprint.\par\cf3Command:\tab PWD\par\cf4Response:\tab 257 "/standard/expdata/silag/save" is current directory.\par\cf8FileZilla started (11/12/2007 10:52:42)\par\cf3Command:\tab REST 0\par\cf4Response:\tab 500 subcommand is only allowed for block or compressed modes.\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"/standard/expdata/silag/","tmp",9) OpMode=0 OpState=-1 caller=0x003ab92c\par\cf2Status:\tab Retrieving directory listing...\par\cf3Command:\tab CWD /standard/expdata/silag/\par\cf7Trace:\tab FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=1 caller=0x003ab92c\par\cf4Response:\tab 250 "/standard/expdata/silag" is current directory.\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x003ab92c\par\cf3Command:\tab PWD\par\cf7Trace:\tab FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=2 caller=0x003ab92c\par\cf4Response:\tab 257 "/standard/expdata/silag" is current directory.\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=2 caller=0x003ab92c\par\cf3Command:\tab CWD tmp\par\cf7Trace:\tab FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=3 caller=0x003ab92c\par\cf4Response:\tab 250 "/standard/expdata/silag/tmp" is current directory.\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=3 caller=0x003ab92c\par\cf3Command:\tab PWD\par\cf7Trace:\tab FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=4 caller=0x003ab92c\par\cf4Response:\tab 257 "/standard/expdata/silag/tmp" is current directory.\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=4 caller=0x003ab92c\par\cf3Command:\tab TYPE A\par\cf7Trace:\tab FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=8 caller=0x003ab92c\par\cf4Response:\tab 200 Representation type is ASCII nonprint.\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x003ab92c\par\cf3Command:\tab PASV\par\cf7Trace:\tab FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=7 caller=0x003ab92c\par\cf4Response:\tab 227 Entering Passive Mode (10,99,31,10,206,109).\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x003ab92c\par\cf7Trace:\tab TransferSocket.cpp(558): SetActive() caller=0x003a9fe4\par\cf3Command:\tab LIST\par\cf7Trace:\tab TransferSocket.cpp(446): OnConnect(0) caller=0x003a9fe4\par\cf7Trace:\tab FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=9 caller=0x003ab92c\par\cf4Response:\tab 125 No files found in directory /standard/expdata/silag/tmp\par\cf7Trace:\tab TransferSocket.cpp(518): OnClose(0) caller=0x003a9fe4\par\cf7Trace:\tab TransferSocket.cpp(1125): Close() caller=0x003a9fe4\par\cf7Trace:\tab TransferSocket.cpp(1125): Close() caller=0x003a9fe4\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x003ab92c\par\cf7Trace:\tab FtpControlSocket.cpp(1969): TransferEnd(4) OpMode=4 OpState=10 caller=0x003ab92c\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(TRUE,0,"","",0) OpMode=4 OpState=10 caller=0x003ab92c\par\cf7Trace:\tab TransferSocket.cpp(96): ~CTransferSocket() caller=0x003a9fe4\par\cf7Trace:\tab TransferSocket.cpp(1125): Close() caller=0x003a9fe4\par\cf7Trace:\tab FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=10 caller=0x003ab92c\par\cf4Response:\tab 250 List completed.\par\cf7Trace:\tab FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=10 caller=0x003ab92c\par\cf2Status:\tab Directory listing successful\par\cf7Trace:\tab FtpControlSocket.cpp(3986): ResetOperation(1) OpMode=4 OpState=10 caller=0x003ab92c\par} :D

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,478
Location:
Prague, Czechia

Re: log file from filezilla

If the FileZilla log file I do not see that you ever tried to open the same directories as with WinSCP, namely:
/standard/expdata/
/QGPL/QGPL/

Can you try with WinSCP to open the directories that worked with FileZilla (by using Open directory command). Example:
/standard/expdata/silag/

Reply with quote

Advertisement

blaugrantler
Joined:
Posts:
7

Re: log file from filezilla

martin wrote:

If the FileZilla log file I do not see that you ever tried to open the same directories as with WinSCP, namely:
/standard/expdata/
/QGPL/QGPL/

Can you try with WinSCP to open the directories that worked with FileZilla (by using Open directory command). Example:
/standard/expdata/silag/

Here it is:

. 2007-11-13 09:44:42.652 --------------------------------------------------------------------------
. 2007-11-13 09:44:42.662 WinSCP Version 4.0.5 (Build 354) (OS 5.1.2600 Service Pack 2)
. 2007-11-13 09:44:42.662 Login time: Dienstag, 13. November 2007 09:44:42
. 2007-11-13 09:44:42.662 --------------------------------------------------------------------------
. 2007-11-13 09:44:42.662 Session name: XXX@YYYYY (FTP)
. 2007-11-13 09:44:42.662 Host name: YYYYY (Port: 21)
. 2007-11-13 09:44:42.662 User name: XXX (Password: Yes, Key file: No)
. 2007-11-13 09:44:42.662 Tunnel: No
. 2007-11-13 09:44:42.662 Transfer Protocol: FTP
. 2007-11-13 09:44:42.662 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2007-11-13 09:44:42.662 Proxy: none
. 2007-11-13 09:44:42.662 FTP: Passive: Yes
. 2007-11-13 09:44:42.662 Local directory: c:\temp, Remote directory: /standard/expdata/silag, Update: No, Cache: Yes
. 2007-11-13 09:44:42.662 Cache directory changes: Yes, Permanent: Yes
. 2007-11-13 09:44:42.662 DST mode: 1
. 2007-11-13 09:44:42.662 --------------------------------------------------------------------------
. 2007-11-13 09:44:42.712 Verbinde mit YYYYY ...
. 2007-11-13 09:44:42.752 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x0b36914c
. 2007-11-13 09:44:42.762 Verbunden mit YYYYY. erwarte Willkommensnachricht ...
. 2007-11-13 09:44:42.782 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x0b36914c
< 2007-11-13 09:44:42.782 220-QTCP at YYYYY.
. 2007-11-13 09:44:43.002 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x0b36914c
< 2007-11-13 09:44:43.002 220 Connection will close if idle more than 5 minutes.
> 2007-11-13 09:44:43.002 USER XXX
. 2007-11-13 09:44:43.032 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x0b36914c
< 2007-11-13 09:44:43.032 331 Enter password.
> 2007-11-13 09:44:43.032 PASS ******
. 2007-11-13 09:44:43.112 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x0b36914c
< 2007-11-13 09:44:43.112 230 XXX logged on.
> 2007-11-13 09:44:43.112 SYST
. 2007-11-13 09:44:43.132 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x0b36914c
< 2007-11-13 09:44:43.132 215 OS/400 is the remote operating system. The TCP/IP version is "V5R3M0".
> 2007-11-13 09:44:43.132 FEAT
. 2007-11-13 09:44:43.172 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x0b36914c
< 2007-11-13 09:44:43.172 211-Feature listing follows:
. 2007-11-13 09:44:43.423 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x0b36914c
< 2007-11-13 09:44:43.423 AUTH TLS
< 2007-11-13 09:44:43.423 PBSZ
< 2007-11-13 09:44:43.423 PROT
< 2007-11-13 09:44:43.423 211 End of feature listing.
. 2007-11-13 09:44:43.423 Verbunden
. 2007-11-13 09:44:43.423 FtpControlSocket.cpp(4184): ResetOperation(1) OpMode=1 OpState=-13 caller=0x0b36914c
. 2007-11-13 09:44:43.423 Got reply 1 to the command 1
. 2007-11-13 09:44:43.423 --------------------------------------------------------------------------
. 2007-11-13 09:44:43.423 Using FTP protocol.
. 2007-11-13 09:44:43.493 Doing startup conversation with host.
. 2007-11-13 09:44:43.503 FtpControlSocket.cpp(1269): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x0b36914c
> 2007-11-13 09:44:43.503 PWD
. 2007-11-13 09:44:43.533 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x0b36914c
< 2007-11-13 09:44:43.533 257 "QGPL" is current library.
. 2007-11-13 09:44:43.533 FtpControlSocket.cpp(4184): ResetOperation(1) OpMode=2 OpState=-1 caller=0x0b36914c
. 2007-11-13 09:44:43.533 Got reply 1 to the command 16
. 2007-11-13 09:44:43.533 Changing directory to "/standard/expdata/silag".
. 2007-11-13 09:44:43.533 Synchronizing current directory "QGPL".
. 2007-11-13 09:44:43.533 FtpControlSocket.cpp(1269): FtpCommand(CWD QGPL) OpMode=0 OpState=-1 caller=0x0b36914c
> 2007-11-13 09:44:43.533 CWD QGPL
. 2007-11-13 09:44:43.643 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x0b36914c
< 2007-11-13 09:44:43.643 250 "QGPL" is current library.
. 2007-11-13 09:44:43.643 FtpControlSocket.cpp(4184): ResetOperation(1) OpMode=2 OpState=-1 caller=0x0b36914c
. 2007-11-13 09:44:43.643 Got reply 1 to the command 16
. 2007-11-13 09:44:43.643 FtpControlSocket.cpp(1269): FtpCommand(CWD /standard/expdata/silag) OpMode=0 OpState=-1 caller=0x0b36914c
> 2007-11-13 09:44:43.643 CWD /standard/expdata/silag
. 2007-11-13 09:44:43.683 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x0b36914c
< 2007-11-13 09:44:43.683 501 File must be specified by library/file.member.
. 2007-11-13 09:44:43.683 FtpControlSocket.cpp(4184): ResetOperation(4) OpMode=2 OpState=-1 caller=0x0b36914c
. 2007-11-13 09:44:43.683 Got reply 4 to the command 16
* 2007-11-13 09:44:43.683 (ECommand) Fehler beim Wechseln in Verzeichnis '/standard/expdata/silag'.
* 2007-11-13 09:44:43.683 File must be specified by library/file.member.
. 2007-11-13 09:44:44.364 Session upkeep
. 2007-11-13 09:44:44.364 Session upkeep
. 2007-11-13 09:44:44.775 Session upkeep
. 2007-11-13 09:44:45.185 Getting current directory name.
. 2007-11-13 09:44:45.185 FtpControlSocket.cpp(1276): List(FALSE,0,"/QGPL/QGPL/","",1) OpMode=0 OpState=-1 caller=0x0b36914c
. 2007-11-13 09:44:45.185 Rufe Verzeichnisinhalt ab...
> 2007-11-13 09:44:45.185 CWD /QGPL/QGPL/
. 2007-11-13 09:44:45.235 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=1 caller=0x0b36914c
< 2007-11-13 09:44:45.235 501 File must be specified by library/file.member.
. 2007-11-13 09:44:45.235 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x0b36914c
. 2007-11-13 09:44:45.235 FtpControlSocket.cpp(4184): ResetOperation(4) OpMode=4 OpState=2 caller=0x0b36914c
. 2007-11-13 09:44:45.235 Konnte Verzeichnisinhalt nicht abrufen
. 2007-11-13 09:44:45.235 Got reply 4 to the command 2
. 2007-11-13 09:44:45.235 FtpControlSocket.cpp(1276): List(FALSE,0,"/QGPL/QGPL/","",1) OpMode=0 OpState=-1 caller=0x0b36914c
. 2007-11-13 09:44:45.235 Rufe Verzeichnisinhalt ab...
> 2007-11-13 09:44:45.235 CWD /QGPL/QGPL/
. 2007-11-13 09:44:45.255 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=1 caller=0x0b36914c
< 2007-11-13 09:44:45.255 501 File must be specified by library/file.member.
. 2007-11-13 09:44:45.255 FtpControlSocket.cpp(1276): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x0b36914c
. 2007-11-13 09:44:45.255 FtpControlSocket.cpp(4184): ResetOperation(4) OpMode=4 OpState=2 caller=0x0b36914c
. 2007-11-13 09:44:45.255 Konnte Verzeichnisinhalt nicht abrufen
. 2007-11-13 09:44:45.255 Got reply 4 to the command 2
* 2007-11-13 09:44:45.255 (ECommand) Fehler beim Anzeigen des Verzeichnisses "QGPL".
* 2007-11-13 09:44:45.255 Konnte Verzeichnisinhalt nicht abrufen
* 2007-11-13 09:44:45.255 File must be specified by library/file.member.
. 2007-11-13 09:44:45.285 Session upkeep
. 2007-11-13 09:44:45.776 Session upkeep
. 2007-11-13 09:44:45.966 Startup conversation with host finished.
. 2007-11-13 09:44:46.037 Session upkeep
. 2007-11-13 09:44:46.277 Session upkeep
. 2007-11-13 09:44:46.778 Session upkeep

Reply with quote

Frost_Azimov1
Guest

The answer

The problem lies in the fact that the AS400 has a different filesystem, it works with libraries rather than files. the leading slash of a directory /something is not accepted.

The trick is to use a post login command that issues "quote site namefmt 1"
This will 'switch' the AS400 to use Unix style folders.

HOWEVER. WinSCP does not seem to handle the post login command correctly, as it only seems to use the first 4 chars of the post login command, I simply get returned:

'subcommand QUOT not valid' (the string changes if you use different letters)

Reply with quote

Frost_Azimov1
Guest

additional info

This is what is happening:

. 2009-02-25 15:26:36.437 DST mode: 1
. 2009-02-25 15:26:36.437 --------------------------------------------------------------------------
. 2009-02-25 15:26:36.468 Connecting to 10.44.10.249 ...
. 2009-02-25 15:26:36.468 Connected with 10.44.10.249. Waiting for welcome message...
< 2009-02-25 15:26:36.468 220-QTCP at i5srv01.xxxxxx.pri.
< 2009-02-25 15:26:36.593 220 Connection will close if idle more than 5 minutes.
> 2009-02-25 15:26:36.593 USER ********
< 2009-02-25 15:26:36.593 331 Enter password.
> 2009-02-25 15:26:36.593 PASS ********
< 2009-02-25 15:26:36.608 230 ******* logged on.
> 2009-02-25 15:26:36.608 SYST
< 2009-02-25 15:26:36.608 215 OS/400 is the remote operating system. The TCP/IP version is "V5R3M0".
> 2009-02-25 15:26:36.608 FEAT
< 2009-02-25 15:26:36.608 211-Feature listing follows:
< 2009-02-25 15:26:36.812 AUTH TLS
< 2009-02-25 15:26:36.812 PBSZ
< 2009-02-25 15:26:36.812 PROT
< 2009-02-25 15:26:36.812 211 End of feature listing.
. 2009-02-25 15:26:36.812 Connected
. 2009-02-25 15:26:36.812 --------------------------------------------------------------------------
. 2009-02-25 15:26:36.812 Using FTP protocol.
. 2009-02-25 15:26:36.812 Doing startup conversation with host.
> 2009-02-25 15:26:36.812 quote site namefmt 1
< 2009-02-25 15:26:36.812 500 Subcommand QUOT not valid.
. 2009-02-25 15:26:36.812 Getting current directory name.
> 2009-02-25 15:26:36.812 PWD
< 2009-02-25 15:26:36.812 257 "QGPL" is current library.
. 2009-02-25 15:26:36.812 Retrieving directory listing...
> 2009-02-25 15:26:36.812 CWD /QGPL/QGPL/
< 2009-02-25 15:26:36.812 550-NAMEFMT set to 1.
< 2009-02-25 15:26:36.812 550-Specified directory does not exist or cannot be accessed.
< 2009-02-25 15:26:37.030 550 Working directory not changed.
. 2009-02-25 15:26:37.030 Could not retrieve directory listing
. 2009-02-25 15:26:37.030 Retrieving directory listing...
> 2009-02-25 15:26:37.030 CWD /QGPL/QGPL/
< 2009-02-25 15:26:37.030 550-Specified directory does not exist or cannot be accessed.
< 2009-02-25 15:26:37.249 550 Working directory not changed.
. 2009-02-25 15:26:37.249 Could not retrieve directory listing
* 2009-02-25 15:26:37.249 (ECommand) Error listing directory 'QGPL'.
* 2009-02-25 15:26:37.249 Could not retrieve directory listing
* 2009-02-25 15:26:37.249 Specified directory does not exist or cannot be accessed.
* 2009-02-25 15:26:37.249 Working directory not changed.
. 2009-02-25 15:26:39.983 Attempt to close connection due to fatal exception:
* 2009-02-25 15:26:39.983 (ExtException) Subcommand QUOT not valid.
* 2009-02-25 15:26:39.983 (ESshFatal) Subcommand QUOT not valid.
. 2009-02-25 15:26:41.405 Disconnected from server


I'm not sure why CWD /QGPL/QGPL/
is done, as far as I know there's only /QGPL

Any ideas?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,478
Location:
Prague, Czechia

Re: The answer

Frost_Azimov1 wrote:

HOWEVER. WinSCP does not seem to handle the post login command correctly, as it only seems to use the first 4 chars of the post login command, I simply get returned:

'subcommand QUOT not valid' (the string changes if you use different letters)
QUOT is not FTP protocol command. It is common command of FTP command line clients to send explicit FTP command to the FTP server. So the correct way is to specify only "site namefmt 1" without QUOT.

Reply with quote

Advertisement

Frost_Azimov1
Guest

Thanks Martin, getting closer!

However, now when I attempt to login I simply see the two messages:
Retrieving directory listing
Directory listing succesfull.

They repeat until the program no longer responds. This is what the log sais when this happens:

> 2009-03-10 15:34:09.517 LIST
< 2009-03-10 15:34:09.814 125 List started.
< 2009-03-10 15:34:10.517 250 List completed.
. 2009-03-10 15:34:10.517 Directory listing successful
. 2009-03-10 15:34:10.517 Retrieving directory listing...
> 2009-03-10 15:34:10.517 TYPE A
< 2009-03-10 15:34:10.533 200 Representation type is ASCII nonprint.
> 2009-03-10 15:34:10.533 PASV
< 2009-03-10 15:34:10.533 227 Entering Passive Mode (10,44,10,249,215,16).
> 2009-03-10 15:34:10.533 LIST
< 2009-03-10 15:34:10.830 125 List started.
< 2009-03-10 15:34:11.611 250 List completed.
. 2009-03-10 15:34:11.626 Directory listing successful
. 2009-03-10 15:34:11.626 Retrieving directory listing...
> 2009-03-10 15:34:11.626 TYPE A
< 2009-03-10 15:34:11.626 200 Representation type is ASCII nonprint.
> 2009-03-10 15:34:11.626 PASV
< 2009-03-10 15:34:11.642 227 Entering Passive Mode (10,44,10,249,71,113).
> 2009-03-10 15:34:11.642 LIST
< 2009-03-10 15:34:11.923 125 List started.
< 2009-03-10 15:34:12.845 250 List completed.
. 2009-03-10 15:34:12.845 Directory listing successful
. 2009-03-10 15:34:12.845 Retrieving directory listing...
> 2009-03-10 15:34:12.845 TYPE A
< 2009-03-10 15:34:12.861 200 Representation type is ASCII nonprint.
> 2009-03-10 15:34:12.861 PASV
< 2009-03-10 15:34:12.861 227 Entering Passive Mode (10,44,10,249,106,84).
> 2009-03-10 15:34:12.861 LIST

Reply with quote

Frost_Azimov1
Guest

Sure; it's a buch of text, so I tried to make it a bit shorter removing some of the files listed, in addtition; after listing once; it starts over & basically keeps repeating the list found; so I've cut it right after the first list & a small part of the second repetition of the list:

fyi: I never actually get to see this list in WinSCP, it only shows me the message "retrieving directory listing" and "Directory listing succesfull", this keeps looping until I kill the task.

Thanks for picking this up!

. 2009-03-11 08:34:04.052 --------------------------------------------------------------------------
. 2009-03-11 08:34:04.052 WinSCP Version 4.1.8 (Build 415) (OS 5.2.3790 Service Pack 2)
. 2009-03-11 08:34:04.052 Login time: Wednesday, March 11, 2009 8:34:04 AM
. 2009-03-11 08:34:04.052 --------------------------------------------------------------------------
. 2009-03-11 08:34:04.052 Session name: testsrv
. 2009-03-11 08:34:04.052 Host name: 10.44.10.249 (Port: 21)
. 2009-03-11 08:34:04.052 User name: qsecofr (Password: Yes, Key file: No)
. 2009-03-11 08:34:04.052 Tunnel: No
. 2009-03-11 08:34:04.052 Transfer Protocol: FTP
. 2009-03-11 08:34:04.052 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-03-11 08:34:04.052 Proxy: none
. 2009-03-11 08:34:04.052 FTP: Passive: No
. 2009-03-11 08:34:04.052 Local directory: default, Remote directory: home, Update: No, Cache: No
. 2009-03-11 08:34:04.052 Cache directory changes: No, Permanent: No
. 2009-03-11 08:34:04.052 DST mode: 1
. 2009-03-11 08:34:04.052 --------------------------------------------------------------------------
. 2009-03-11 08:34:04.099 Connecting to 10.44.10.249 ...
. 2009-03-11 08:34:04.099 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x02e1c7c4
. 2009-03-11 08:34:04.099 Connected with 10.44.10.249. Waiting for welcome message...
. 2009-03-11 08:34:04.521 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x02e1c7c4
< 2009-03-11 08:34:04.521 220-QTCP at i5srv01.test.pri.
. 2009-03-11 08:34:04.677 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x02e1c7c4
< 2009-03-11 08:34:04.677 220 Connection will close if idle more than 5 minutes.
> 2009-03-11 08:34:04.677 USER *******
. 2009-03-11 08:34:04.677 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x02e1c7c4
< 2009-03-11 08:34:04.677 331 Enter password.
> 2009-03-11 08:34:04.677 PASS ********
. 2009-03-11 08:34:05.021 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x02e1c7c4
< 2009-03-11 08:34:05.021 230 QSECOFR logged on.
> 2009-03-11 08:34:05.021 SYST
. 2009-03-11 08:34:05.052 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x02e1c7c4
< 2009-03-11 08:34:05.052 215 OS/400 is the remote operating system. The TCP/IP version is "V5R3M0".
> 2009-03-11 08:34:05.052 FEAT
. 2009-03-11 08:34:05.067 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x02e1c7c4
< 2009-03-11 08:34:05.067 211-Feature listing follows:
. 2009-03-11 08:34:05.224 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x02e1c7c4
< 2009-03-11 08:34:05.224 AUTH TLS
< 2009-03-11 08:34:05.224 PBSZ
< 2009-03-11 08:34:05.224 PROT
< 2009-03-11 08:34:05.224 211 End of feature listing.
. 2009-03-11 08:34:05.224 Connected
. 2009-03-11 08:34:05.224 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=1 OpState=-13 caller=0x02e1c7c4
. 2009-03-11 08:34:05.224 Got reply 1 to the command 1
. 2009-03-11 08:34:05.224 --------------------------------------------------------------------------
. 2009-03-11 08:34:05.224 Using FTP protocol.
. 2009-03-11 08:34:05.224 Doing startup conversation with host.
. 2009-03-11 08:34:05.224 FtpControlSocket.cpp(1283): FtpCommand(site namefmt 1) OpMode=0 OpState=-1 caller=0x02e1c7c4
> 2009-03-11 08:34:05.224 site namefmt 1
. 2009-03-11 08:34:05.224 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x02e1c7c4
< 2009-03-11 08:34:05.224 250 Now using naming format "1".
. 2009-03-11 08:34:05.224 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=2 OpState=-1 caller=0x02e1c7c4
. 2009-03-11 08:34:05.224 Got reply 1 to the command 16
. 2009-03-11 08:34:05.224 FtpControlSocket.cpp(1283): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x02e1c7c4
> 2009-03-11 08:34:05.224 PWD
. 2009-03-11 08:34:05.239 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x02e1c7c4
< 2009-03-11 08:34:05.239 257 "/QSYS.LIB/QGPL.LIB" is current library.
. 2009-03-11 08:34:05.239 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=2 OpState=-1 caller=0x02e1c7c4
. 2009-03-11 08:34:05.255 Got reply 1 to the command 16
. 2009-03-11 08:34:05.255 Getting current directory name.
. 2009-03-11 08:34:05.255 FtpControlSocket.cpp(1290): List(FALSE,0,"/QSYS.LIB/QGPL.LIB/","",1) OpMode=0 OpState=-1 caller=0x02e1c7c4
. 2009-03-11 08:34:05.255 Retrieving directory listing...
> 2009-03-11 08:34:05.255 TYPE A
. 2009-03-11 08:34:05.255 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=8 caller=0x02e1c7c4
< 2009-03-11 08:34:05.255 200 Representation type is ASCII nonprint.
. 2009-03-11 08:34:05.255 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x02e1c7c4
> 2009-03-11 08:34:05.255 PORT 10,42,146,144,10,140
. 2009-03-11 08:34:05.255 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=7 caller=0x02e1c7c4
< 2009-03-11 08:34:05.255 200 PORT subcommand request successful.
. 2009-03-11 08:34:05.255 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x02e1c7c4
. 2009-03-11 08:34:05.255 TransferSocket.cpp(597): SetActive() caller=0x02e718e8
> 2009-03-11 08:34:05.255 LIST -a
. 2009-03-11 08:34:05.349 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=9 caller=0x02e1c7c4
< 2009-03-11 08:34:05.349 501 Unknown extension in database file name.
. 2009-03-11 08:34:05.349 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x02e1c7c4
. 2009-03-11 08:34:05.349 FtpControlSocket.cpp(4198): ResetOperation(4) OpMode=4 OpState=9 caller=0x02e1c7c4
. 2009-03-11 08:34:05.349 TransferSocket.cpp(108): ~CTransferSocket() caller=0x02e718e8
. 2009-03-11 08:34:05.349 TransferSocket.cpp(1179): Close() caller=0x02e718e8
. 2009-03-11 08:34:05.349 Could not retrieve directory listing
. 2009-03-11 08:34:05.349 Got reply 4 to the command 2
. 2009-03-11 08:34:05.349 FtpControlSocket.cpp(1290): List(FALSE,0,"/QSYS.LIB/QGPL.LIB/","",1) OpMode=0 OpState=-1 caller=0x02e1c7c4
. 2009-03-11 08:34:05.349 Retrieving directory listing...
> 2009-03-11 08:34:05.349 TYPE A
. 2009-03-11 08:34:05.349 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=8 caller=0x02e1c7c4
< 2009-03-11 08:34:05.349 200 Representation type is ASCII nonprint.
. 2009-03-11 08:34:05.349 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x02e1c7c4
> 2009-03-11 08:34:05.349 PORT 10,42,146,144,10,141
. 2009-03-11 08:34:05.349 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=7 caller=0x02e1c7c4
< 2009-03-11 08:34:05.349 200 PORT subcommand request successful.
. 2009-03-11 08:34:05.349 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x02e1c7c4
. 2009-03-11 08:34:05.349 TransferSocket.cpp(597): SetActive() caller=0x02e6a718
> 2009-03-11 08:34:05.349 LIST
. 2009-03-11 08:34:05.427 TransferSocket.cpp(418): OnAccept(0) caller=0x02e6a718
. 2009-03-11 08:34:14.958 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=9 caller=0x02e1c7c4
< 2009-03-11 08:34:14.958 125 List started.
. 2009-03-11 08:34:14.958 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x02e1c7c4
. 2009-03-11 08:34:16.411 TransferSocket.cpp(557): OnClose(0) caller=0x02e6a718
. 2009-03-11 08:34:16.411 TransferSocket.cpp(1179): Close() caller=0x02e6a718
. 2009-03-11 08:34:16.411 TransferSocket.cpp(1179): Close() caller=0x02e6a718
. 2009-03-11 08:34:16.411 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=10 caller=0x02e1c7c4
< 2009-03-11 08:34:16.411 250 List completed.
. 2009-03-11 08:34:16.411 FtpControlSocket.cpp(2084): TransferEnd(4) OpMode=4 OpState=10 caller=0x02e1c7c4
. 2009-03-11 08:34:16.411 FtpControlSocket.cpp(1290): List(TRUE,0,"","",0) OpMode=4 OpState=10 caller=0x02e1c7c4
. 2009-03-11 08:34:16.411 QSECOFR 471040 11/04/06 08:14:46 *FILE DLF.SAVF
. 2009-03-11 08:34:16.411 QSECOFR 4476928 14/02/06 11:22:50 *FILE ERIK.SAVF
. 2009-03-11 08:34:16.411 QSECOFR 4214784 27/02/06 13:42:44 *FILE IBSONG.SAVF
. 2009-03-11 08:34:16.411 QSECOFR 106496 30/12/04 13:25:39 *FILE PETER.SAVF
. 2009-03-11 08:34:16.411 QPGMR 118784 15/12/04 04:01:07 *FILE QAAPFILE.FILE
. 2009-03-11 08:34:16.411 QPGMR *MEM QAAPFILE.FILE/QAAPF1X1.MBR
. 2009-03-11 08:34:16.411 QPGMR *MEM QAAPFILE.FILE/QAAPF1X2.MBR
. 2009-03-11 08:34:16.411 QPGMR *MEM QAAPFILE.FILE/QAAPF2X2.MBR
. 2009-03-11 08:34:16.411 QPGMR 159744 15/12/04 04:01:07 *FILE QAAPFILE$.FILE
[whole lot of files listed]
. 2009-03-11 08:34:16.411 QPGMR 4096 15/12/04 03:59:50 *FILE QTXTSRC.FILE
. 2009-03-11 08:34:16.411 TransferSocket.cpp(108): ~CTransferSocket() caller=0x02e6a718
. 2009-03-11 08:34:16.411 TransferSocket.cpp(1179): Close() caller=0x02e6a718
. 2009-03-11 08:34:16.411 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=10 caller=0x02e1c7c4
. 2009-03-11 08:34:16.411 Directory listing successful
. 2009-03-11 08:34:16.411 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=4 OpState=10 caller=0x02e1c7c4
. 2009-03-11 08:34:16.411 Got reply 1 to the command 2
. 2009-03-11 08:34:16.411 FtpControlSocket.cpp(1290): List(FALSE,0,"/QSYS.LIB/QGPL.LIB/","",1) OpMode=0 OpState=-1 caller=0x02e1c7c4
. 2009-03-11 08:34:16.427 Retrieving directory listing...
> 2009-03-11 08:34:16.427 TYPE A
. 2009-03-11 08:34:16.427 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=8 caller=0x02e1c7c4
< 2009-03-11 08:34:16.427 200 Representation type is ASCII nonprint.
. 2009-03-11 08:34:16.427 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x02e1c7c4
> 2009-03-11 08:34:16.427 PORT 10,42,146,144,10,142
. 2009-03-11 08:34:16.427 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=7 caller=0x02e1c7c4
< 2009-03-11 08:34:16.427 200 PORT subcommand request successful.
. 2009-03-11 08:34:16.427 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x02e1c7c4
. 2009-03-11 08:34:16.427 TransferSocket.cpp(597): SetActive() caller=0x02eaf64c
> 2009-03-11 08:34:16.427 LIST
. 2009-03-11 08:34:16.427 TransferSocket.cpp(418): OnAccept(0) caller=0x02eaf64c
. 2009-03-11 08:34:16.739 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=9 caller=0x02e1c7c4
< 2009-03-11 08:34:16.739 125 List started.
. 2009-03-11 08:34:16.739 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x02e1c7c4
. 2009-03-11 08:34:17.567 TransferSocket.cpp(557): OnClose(0) caller=0x02eaf64c
. 2009-03-11 08:34:17.567 TransferSocket.cpp(1179): Close() caller=0x02eaf64c
. 2009-03-11 08:34:17.567 TransferSocket.cpp(1179): Close() caller=0x02eaf64c
. 2009-03-11 08:34:17.567 FtpControlSocket.cpp(2084): TransferEnd(4) OpMode=4 OpState=10 caller=0x02e1c7c4
. 2009-03-11 08:34:17.567 FtpControlSocket.cpp(1290): List(TRUE,0,"","",0) OpMode=4 OpState=10 caller=0x02e1c7c4
. 2009-03-11 08:34:17.567 QSECOFR 471040 11/04/06 08:14:46 *FILE DLF.SAVF
. 2009-03-11 08:34:17.567 QSECOFR 442368 07/02/06 09:34:36 *FILE DUTCHLEASE.SAVF
. 2009-03-11 08:34:17.567 QSECOFR 4476928 14/02/06 11:22:50 *FILE ERIK.SAVF
. 2009-03-11 08:34:17.567 QSECOFR 4214784 27/02/06 13:42:44 *FILE IBSONG.SAVF
. 2009-03-11 08:34:17.567 QSECOFR 106496 30/12/04 13:25:39 *FILE PETER.SAVF
. 2009-03-11 08:34:17.567 QPGMR 118784 15/12/04 04:01:07 *FILE QAAPFILE.FILE

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,478
Location:
Prague, Czechia

Frost_Azimov1 wrote:

Sure; it's a buch of text, so I tried to make it a bit shorter removing some of the files listed, in addtition; after listing once; it starts over & basically keeps repeating the list found; so I've cut it right after the first list & a small part of the second repetition of the list:

fyi: I never actually get to see this list in WinSCP, it only shows me the message "retrieving directory listing" and "Directory listing succesfull", this keeps looping until I kill the task.

Thanks for picking this up!
Thanks.
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? You will find my address (if you log in) in my forum profile. Please include link back to this topic. Thanks.

Reply with quote

Advertisement

Frost_Azimov1
Guest

To whom it concerns: I was using the (stable) version 4.1.8 build 415. It turns out that the new beta 4.2.1 works fine with the AS/400 and the above setting.

Thanks to Martin for helping me figuring this out!

Reply with quote

Advertisement

You can post new topics in this forum