Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Error directory listing with mark III FTP Server

WinSCP does not support FTP servers that do not use Unix-style paths. I.e. in your case, the path does not start with a slash.

Can I get a test account on your server to try to improve this?
knobloch

Logfile

Hello Mr. Prikryl,

I have generated the Logfile and attached it.

Kind regards,

Andreas Knobloch
martin

Re: Error directory listing with mark III FTP Server

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
knobloch

Error directory listing with mark III FTP Server

Hi,

I try to Download several files from a service provider. He is using a "Mark III FTP Server Version 1.70".
I can connect to the server but when I post the command "ls" or "dir" I get the error "Error listing the directory 'root'. Could not retrieve directory listing invalid path."
But I can change into directories.

WinSCP Version 5.5.5 on Server 2008 R2
I'm using the commandline (later it will be a script).

The remote directory structure is:
send
receive
report

This are my comands I'm using:
winscp> open Phoenix/GXS

Connecting to 198.133.252.121 ...
Connected with 198.133.252.121. Waiting for welcome message...
Connected
Starting the session...
Reading remote directory...
Session started.
Active session: [1] Phoenix/GXS
winscp> option transfer ascii
transfer        ascii
winscp> cd /receive
receive
winscp> ls
Error listing directory 'receive'.
Could not retrieve directory listing
invalid path.
(A)bort, (R)etry, (S)kip: Skip
winscp> quote site parm=GNI
Unknown command 'quote'.
winscp>


The command
quote site parm=GNI
has to be used as the documentation says.

The wired is when I try the commands via the windows build-in ftp all works.
ftp> open 198.133.252.121

Verbindung mit 198.133.252.121 wurde hergestellt.
220 Mark III FTP server (Version 1.7 Tue Mar 14 10:10:00 GMT 2000) ready.
Benutzer (198.133.252.121:(none)): <username>
331 Password required for <username>
Kennwort:
230 User logged in, proceed.
ftp> ls
200 PORT command successful.
150 Data connection open for transfer of file EFDR9540.
send
receive
reports
226 Closing data connection. Requested file action successful.
FTP: 24 Bytes empfangen in 0,01Sekunden 4,80KB/s
ftp> cd /receive
250 "receive" is current directory.
ftp> ls
200 PORT command successful.
150 Data connection open for transfer of file EFDR9540.
M8S83142
M8S83144
226 Closing data connection. Requested file action successful.
FTP: 20 Bytes empfangen in 0,01Sekunden 4,00KB/s
ftp> quote site parm=GNI
200 SITE command successful.
ftp>


If you need further information just aks and I will provide it.

Kind regards