Topic "Cannot access Directories"

Author Message

Hello *,
i cant list any directory on my mediaplayer.
I think it is the same problem as here:

I try to access my Mediaplayer with WINSCP. There is a stupid-ftpd installed.
With Filezilla all is working very well, also with standard Windows FTP command.
I have already tested with active and passiv ftp, no success...
Can anybody help me ?

See my log file:
WinSCP Version 4.3.7 (Build 1679) (OS 6.1.7601 Service Pack 1)
Configuration: C:\Program Files (x86)\WinSCP\WinSCP.ini
Local account: Klaus_Desktop\Klaus Voigt
Login time: Mittwoch, 7. Mrz 2012 18:28:25
Session name: PlayonHD (Stored session)
Host name: (Port: 21)
User name: anonymous (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: FTP
Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
Proxy: none
FTP: FTPS: None; Passive: No [Force IP: No]
Local directory: E:\Software & Treiber\Driver & Updates\Playon!HD Mini ACR-PV73200, Remote directory: /, Update: Yes, Cache: No
Cache directory changes: No, Permanent: Yes
DST mode: 1
Connecting to ...
Connected with Waiting for welcome message...
220 Welcome to Stupid-FTPd server.
USER anonymous
331 Guest login ok, send your e-mail address as password.
PASS ****
230 User anonymous logged in.
215 UNIX Type: L8 (Linux).
503 Command not understood.
Using FTP protocol.
Doing startup conversation with host.
257 "/" is current directory.
Changing directory to "/".
250 CWD command successful.
Getting current directory name.
257 "/" is current directory.
Retrieving directory listing...
200 Type set to A.
PORT 192,168,1,3,245,19
200 PORT command successful.
150 OK
226 Transfer complete.
Directory listing successful
Startup conversation with host finished.
Changing directory to "usr".
CWD usr
250 CWD command successful.
Getting current directory name.
257 "usr/" is current directory.
Retrieving directory listing...
CWD /usr/usr/
550 /usr/usr/: No such directory.
Could not retrieve directory listing
(ECommand) Error listing directory 'usr'.
Could not retrieve directory listing
/usr/usr/: No such directory.

I have played around.
WINSCP has no problem with servers who respond to pwd with /folder, but when the server respond with folder/, i get the error.
Unfortunetly i have no possibilty to control this behavior.

Ok, when i sent cwd commands via terminal to my server i can navigate to my wanted folder.
I find it is clear, the problem is / before and / behind the folder.
Hopefully it will be fixed.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
Martin Prikryl
[View user's profile]

Joined: 2012-03-08
Posts: 1
Location: Germany (Bavaria)
I have sent you the mail ....


Here are some duplicates of the report of this problem:



OK, so I installed this ftp server on my Android 4.2.1 tablet

and using the option "Restrict to Default Directory"!searchin/andreasliebigapps/Restrict$20to$20Default$20Directory|sort:relevance/andreasliebigapps/HnDwBgyZKgU/-wBGis83FrgJ

is what's causing the problem. That is kind of security setting on ftp server, honoured by Winscp, but not by other ftp clients, notably by standard built in Windows CLI client or Filezilla, they all seem to work and provide access to other directories, as already mentioned in this thread. That's kind of hypothesis by now, didn't have chance to try to untick that option yet, but I'll let you know.


Unfortunately, that does not help. There is some other problem with that ftp server in conjuction with WinSCP. Sad

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License