Topic "Error directory listing with mark III FTP Server"

Author Message
knobloch
[View user's profile]

Joined: 2014-08-28
Posts: 2
Location: Karlsruhe, Germany
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:
Code:

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
Code:
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.
Code:
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
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.
_________________
Martin Prikryl
knobloch
[View user's profile]

Joined: 2014-08-28
Posts: 2
Location: Karlsruhe, Germany
Hello Mr. Prikryl,

I have generated the Logfile and attached it.

Kind regards,

Andreas Knobloch
winscp.log (6.17 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
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?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License