Topic "Cannot access Directories"

Author Message
Guest




Hello *,
i cant list any directory on my mediaplayer.
I think it is the same problem as here:
http://winscp.net/forum/viewtopic.php?t=6470

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: 192.168.2.2 (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 192.168.2.2 ...
Connected with 192.168.2.2. 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.
SYST
215 UNIX Type: L8 (Linux).
FEAT
503 Command not understood.
Connected
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "/" is current directory.
Changing directory to "/".
CWD /
250 CWD command successful.
Getting current directory name.
PWD
257 "/" is current directory.
Retrieving directory listing...
TYPE A
200 Type set to A.
PORT 192,168,1,3,245,19
200 PORT command successful.
LIST -a
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.
PWD
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.
Advertisements
Guest




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




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.

regards
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
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
Rampler
[View user's profile]

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

Guest


Here are some duplicates of the report of this problem:

http://winscp.net/forum/viewtopic.php?t=11029
http://winscp.net/forum/viewtopic.php?t=9905
http://winscp.net/forum/viewtopic.php?t=6470

Cheers.
jcv

Guest


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

https://play.google.com/store/apps/details?id=lutey.FTPServer

and using the option "Restrict to Default Directory"

https://groups.google.com/forum/#!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.
jcv

Guest


Unfortunately, that does not help. There is some other problem with that ftp server in conjuction with WinSCP. Sad
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