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
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