Opened 14 years ago

Closed 10 years ago

#4288 closed Bug report (outdated)

Failed to retrieve directory listing from AS/400 FTP server

Reported by: faiw Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type:
Operating system version:


FileZilla client failed to retrieve directory listing form AS/400 FTP server under i5/OS listing format.

Below is the connection log from FileZilla:
Status: Connection established, waiting for welcome message...
Response: 220-QTCP at HKWEBSVR.
Response: 220 Connection will close if idle more than 5 minutes.
Response: 331 Enter password.
Command: PASS *
Response: 230 QSECOFR logged on.
Command: SYST
Response: 215 OS/400 is the remote operating system. The TCP/IP version is "V6R1M0".
Command: FEAT
Response: 211-Feature listing follows:
Response: AUTH TLS
Response: CCC
Response: PBSZ
Response: PROT
Response: 211 End of feature listing.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "QGPL" is current library.
Command: PWD
Response: 257 "QGPL" is current library.
Error: Failed to retrieve directory listing

Change History (4)

comment:1 by Tim Kosse, 14 years ago

Status: newmoreinfo

Did you try all the server types listed in the site manager?

comment:2 by Glg11, 14 years ago


The AS/400 handles two different file areas:

1) Integrated file system (IFS) with

/root/subdirectory1/subdirectory11/ ...

2) Libraries ("old style" file system) with fixed structure

library - file - member

Filezilla only works fine on IFS. With server type 'standard' only.
On libraries it doesn't find structures like library - file - member.

If you choose '/' (root) as starting remote directory, the AS/400 will automatically change into the IFS file system. See log:

Status: Auflösen der IP-Adresse für MYAS400
Status: Verbinden mit
Status: Verbindung hergestellt, warte auf Willkommensnachricht...
Antwort: 220-QTCP at
Antwort: 220 Connection will close if idle more than 5 minutes.
Befehl: USER myuser
Antwort: 331 Enter password.
Befehl: PASS myuser
Antwort: 230 MYUSER logged on.
Befehl: SYST
Antwort: 215 OS/400 is the remote operating system. The TCP/IP version is "V5R4M0".
Befehl: FEAT
Antwort: 211-Feature listing follows:
Antwort: AUTH TLS
Antwort: CCC
Antwort: PBSZ
Antwort: PROT
Antwort: 211 End of feature listing.
Status: Verbunden
Status: Empfange Dateilisten...
Befehl: CWD /
Antwort: 250-NAMEFMT set to 1.
Antwort: 250 "/" is current directory.
Befehl: PWD
Antwort: 257 "/" is current directory.
Befehl: TYPE I
Antwort: 200 Representation type is binary IMAGE.
Befehl: PASV
Antwort: 227 Entering Passive Mode (192,xxx,xxx,xxx,248,47).
Befehl: LIST
Antwort: 125 List started.
Antwort: 250 List completed.
Status: Dateiauflistung abgeschlossen

Please note response "250-NAMEFMT set to 1"!

If your user profile has a default library (like 'QGPL') and no starting remote directory is set, then the system will use "NAMEFMT set to 0".

There you find the fixed structure of library - file - member

Directory list:

MYUSER 344064 02.03.09 14:32:29 *FILE MYFILE1
MYUSER 19034112 02.03.09 14:44:42 *FILE MYFILE2

Filezilla Client can't navigate here into libraries or files or members.

  • Library lists like /QSYS.LIB/QGPL.LIB works ok.
  • Lists of members of an file like /QSYS.LIB/QGPL.LIB/QDDSSRC.FILE doesn't work correct. It shows a wrong file name instead of a file list with several entries:


comment:3 by Alexander Schuch, 11 years ago

Can you please retry with a recent version of FileZilla?

comment:4 by Alexander Schuch, 10 years ago

Resolution: outdated
Status: moreinfoclosed

No reply for more than 28 days.

Note: See TracTickets for help on using tickets.