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:
This are my comands I'm using:
winscp> open Phoenix/GXS Connecting to 184.108.40.206 ... Connected with 220.127.116.11. Waiting for welcome message... Connected Starting the session... Reading remote directory... Session started. Active session:  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>
quote site parm=GNI
The wired is when I try the commands via the windows build-in ftp all works.
ftp> open 18.104.22.168 Verbindung mit 22.214.171.124 wurde hergestellt. 220 Mark III FTP server (Version 1.7 Tue Mar 14 10:10:00 GMT 2000) ready. Benutzer (126.96.36.199:(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.