Topic "Connection to FTP server shows empty root directory"

Author Message
Cagrat_Aggie
[View user's profile]

Joined: 2012-10-24
Posts: 2
I am using version 5.1.0. build 2625 and I am unable to connect to our work FTP server. When I try to access with my account I only get to the root directory and none of the directories below the root are displayed. I am using passive mode. This FTP site allows multiple users with different permissions. I am able to access this FTP server with FTP applications like WS_FTP_PRO and cute_FTP successfully. I have researched the Winscp message board for something similar but have not found anything to answer my particular situation. The closest article I have found to my situation is the one titled, "Hidden root folder, cannot descend to subfolders" back in 2010.

I really like the layout of the Winscp application and it's simplicity and I would like to get it working for the FTP site that I need to utilize.
winscp_log.txt (2.74 KB) [Download]

Description: Winscp log

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Please post Debug 1-level log file from WinSCP as well as log files from WS FTP or Cute FTP or both.
_________________
Martin Prikryl
Cagrat_Aggie
[View user's profile]

Joined: 2012-10-24
Posts: 2
prikryl wrote:
Please post Debug 1-level log file from WinSCP as well as log files from WS FTP or Cute FTP or both.

The following logs are attached:
- WinSCP debug 1 level
- WS_ftp log (successfully shows directories)
- Cute_ftp log (successfully shows directories)

The directories listed in the debug 1 level log are what should be showing up at the root level when attached to FTP server.
cute_ftp_log.txt (2.28 KB) [Download]

Description: (none)

ws_ftp_log.txt (1.62 KB) [Download]

Description: (none)

winscp_debug1.txt (113.82 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
FTP specification in RFC 3659 mandates that there must be a space before filename in MLSD directory listing results
https://tools.ietf.org/html/rfc3659
Quote:
entry = [ facts ] SP pathname

Your server does not conform to this requirement:
Code:
. 2012-10-29 09:11:52.837 size=0;type=dir;perm=elc;create=20121029101141;modify=20121029101141;Uploads
. 2012-10-29 09:11:52.837 size=0;type=dir;perm=elc;create=20051129083535;modify=20051129083535;Public
. 2012-10-29 09:11:52.837 size=0;type=dir;perm=elc;create=20051129051812;modify=20051129051812;LSE
. 2012-10-29 09:11:52.837 size=0;type=dir;perm=elc;create=20111228090706;modify=20111228090706;MSA
. 2012-10-29 09:11:52.837 size=0;type=dir;perm=elc;create=20111228090706;modify=20111228090706;UHF
...
nemobob

Guest


I have a similar issue. The window on the remote host (Linux) is mostly empty, with only small icons where should be directory icons and names (see screenshot). I can change to these directories, but everything stays empty apart from those icons. No filenames. Here's the Debug 1 log, maybe you find sth there:

Code:

. 2013-01-18 14:49:55.364 --------------------------------------------------------------------------
. 2013-01-18 14:49:55.364 WinSCP Version 5.1.0 (Build 2625) (OS 6.1.7601 Service Pack 1)
. 2013-01-18 14:49:55.364 Configuration: C:\apps\winscp\WinSCP.ini
. 2013-01-18 14:49:55.364 Working directory: C:\apps\winscp
. 2013-01-18 14:49:55.364 Command-line: "C:\apps\winscp\WinSCP.exe"
. 2013-01-18 14:49:55.364 Login time: Freitag, 18. Januar 2013 14:49:55
. 2013-01-18 14:49:55.364 --------------------------------------------------------------------------
...
. 2013-01-18 14:49:55.364 Tunnel: No
. 2013-01-18 14:49:55.364 Transfer Protocol: SFTP (SCP)
. 2013-01-18 14:49:55.364 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2013-01-18 14:49:55.364 Proxy: none
. 2013-01-18 14:49:55.364 SSH protocol version: 2; Compression: No
. 2013-01-18 14:49:55.364 Bypass authentication: No
. 2013-01-18 14:49:55.364 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2013-01-18 14:49:55.364 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2013-01-18 14:49:55.364 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2013-01-18 14:49:55.364 SFTP Bugs: A,A
. 2013-01-18 14:49:55.364 Return code variable: Autodetect; Lookup user groups: A
. 2013-01-18 14:49:55.364 Shell: default
. 2013-01-18 14:49:55.364 EOL: 0, UTF: 2
. 2013-01-18 14:49:55.364 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2013-01-18 14:49:55.364 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2013-01-18 14:49:55.364 Local directory: D:\Archiv, Remote directory: /home/bafink, Update: Yes, Cache: Yes
. 2013-01-18 14:49:55.364 Cache directory changes: Yes, Permanent: Yes
. 2013-01-18 14:49:55.364 DST mode: 1
. 2013-01-18 14:49:55.364 --------------------------------------------------------------------------
...
. 2013-01-18 14:49:55.505 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:55.505 Detected network event
. 2013-01-18 14:49:55.505 Server version: SSH-1.99-OpenSSH_3.7p1
. 2013-01-18 14:49:55.505 Using SSH protocol version 2
. 2013-01-18 14:49:55.505 We claim version: SSH-2.0-WinSCP_release_5.1
. 2013-01-18 14:49:55.505 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:55.505 Detected network event
. 2013-01-18 14:49:55.505 Doing Diffie-Hellman group exchange
. 2013-01-18 14:49:55.505 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:55.520 Detected network event
. 2013-01-18 14:49:55.520 Doing Diffie-Hellman key exchange with hash SHA-1
. 2013-01-18 14:49:55.614 Session upkeep
. 2013-01-18 14:49:55.770 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:56.144 Detected network event
. 2013-01-18 14:49:56.175 Session upkeep
. 2013-01-18 14:49:56.394 Verifying host key rsa2
...
. 2013-01-18 14:49:56.425 Host key matches cached key
. 2013-01-18 14:49:56.425 Host key fingerprint is:
...
. 2013-01-18 14:49:56.425 Initialised AES-256 SDCTR client->server encryption
. 2013-01-18 14:49:56.425 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-01-18 14:49:56.425 Initialised AES-256 SDCTR server->client encryption
. 2013-01-18 14:49:56.425 Initialised HMAC-SHA1 server->client MAC algorithm
. 2013-01-18 14:49:56.425 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:56.456 Detected network event
...
. 2013-01-18 14:49:56.487 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:56.519 Detected network event
. 2013-01-18 14:49:56.519 Offered public key
. 2013-01-18 14:49:56.519 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:56.519 Detected network event
. 2013-01-18 14:49:56.519 Offer of public key accepted
...
. 2013-01-18 14:49:56.612 Sent public key signature
. 2013-01-18 14:49:56.612 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:56.612 Detected network event
. 2013-01-18 14:49:56.612 Access granted
. 2013-01-18 14:49:56.612 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:56.612 Detected network event
. 2013-01-18 14:49:56.612 Opened channel for session
. 2013-01-18 14:49:56.612 Waiting for the server to continue with the initialisation
. 2013-01-18 14:49:56.628 Detected network event
. 2013-01-18 14:49:56.628 Started a shell/command
. 2013-01-18 14:49:56.690 --------------------------------------------------------------------------
. 2013-01-18 14:49:56.690 Using SFTP protocol.
. 2013-01-18 14:49:56.690 Doing startup conversation with host.
. 2013-01-18 14:49:56.690 Session upkeep
> 2013-01-18 14:49:56.753 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2013-01-18 14:49:56.753 Sent 9 bytes
. 2013-01-18 14:49:56.753 There are 0 bytes remaining in the send buffer
. 2013-01-18 14:49:56.753 Waiting for another 4 bytes
. 2013-01-18 14:49:56.753 Detected network event
. 2013-01-18 14:49:56.753 Received 9 bytes (0)
. 2013-01-18 14:49:56.753 Read 4 bytes (5 pending)
. 2013-01-18 14:49:56.753 Read 5 bytes (0 pending)
< 2013-01-18 14:49:56.753 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2013-01-18 14:49:56.753 SFTP version 3 negotiated.
. 2013-01-18 14:49:56.753 We believe the server has signed timestamps bug
. 2013-01-18 14:49:56.753 We will use UTF-8 strings for status messages only
. 2013-01-18 14:49:56.753 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2013-01-18 14:49:56.815 Changing directory to "/home/bafink".
. 2013-01-18 14:49:56.815 Getting real path for '/home/bafink'
> 2013-01-18 14:49:56.815 Type: SSH_FXP_REALPATH, Size: 21, Number: 1552
. 2013-01-18 14:49:56.815 Sent 25 bytes
. 2013-01-18 14:49:56.815 There are 0 bytes remaining in the send buffer
. 2013-01-18 14:49:56.815 Waiting for another 4 bytes
. 2013-01-18 14:49:56.815 Detected network event
. 2013-01-18 14:49:56.815 Received 49 bytes (0)
. 2013-01-18 14:49:56.815 Read 4 bytes (45 pending)
. 2013-01-18 14:49:56.815 Read 45 bytes (0 pending)
< 2013-01-18 14:49:56.815 Type: SSH_FXP_NAME, Size: 45, Number: 1552
. 2013-01-18 14:49:56.815 Real path is '/home/bafink'
. 2013-01-18 14:49:56.815 Trying to open directory "/home/bafink".
> 2013-01-18 14:49:56.815 Type: SSH_FXP_LSTAT, Size: 21, Number: 1799
. 2013-01-18 14:49:56.815 Sent 25 bytes
. 2013-01-18 14:49:56.815 There are 0 bytes remaining in the send buffer
. 2013-01-18 14:49:56.815 Waiting for another 4 bytes
. 2013-01-18 14:49:56.815 Detected network event
. 2013-01-18 14:49:56.815 Received 41 bytes (0)
. 2013-01-18 14:49:56.815 Read 4 bytes (37 pending)
. 2013-01-18 14:49:56.815 Read 37 bytes (0 pending)
< 2013-01-18 14:49:56.815 Type: SSH_FXP_ATTRS, Size: 37, Number: 1799
. 2013-01-18 14:49:56.815 Getting current directory name.
. 2013-01-18 14:49:57.002 Listing directory "/home/bafink".
> 2013-01-18 14:49:57.002 Type: SSH_FXP_OPENDIR, Size: 21, Number: 2059
. 2013-01-18 14:49:57.002 Sent 25 bytes
. 2013-01-18 14:49:57.002 There are 0 bytes remaining in the send buffer
. 2013-01-18 14:49:57.002 Waiting for another 4 bytes
. 2013-01-18 14:49:57.002 Detected network event
. 2013-01-18 14:49:57.002 Received 17 bytes (0)
. 2013-01-18 14:49:57.002 Read 4 bytes (13 pending)
. 2013-01-18 14:49:57.002 Read 13 bytes (0 pending)
< 2013-01-18 14:49:57.002 Type: SSH_FXP_HANDLE, Size: 13, Number: 2059
> 2013-01-18 14:49:57.002 Type: SSH_FXP_READDIR, Size: 13, Number: 2316
. 2013-01-18 14:49:57.002 Sent 17 bytes
. 2013-01-18 14:49:57.002 There are 0 bytes remaining in the send buffer
. 2013-01-18 14:49:57.002 Waiting for another 4 bytes
. 2013-01-18 14:49:57.002 Detected network event
. 2013-01-18 14:49:57.002 Received 397 bytes (0)
. 2013-01-18 14:49:57.002 Read 4 bytes (393 pending)
. 2013-01-18 14:49:57.002 Read 393 bytes (0 pending)
< 2013-01-18 14:49:57.002 Type: SSH_FXP_NAME, Size: 393, Number: 2316
> 2013-01-18 14:49:57.002 Type: SSH_FXP_READDIR, Size: 13, Number: 2572
. 2013-01-18 14:49:57.002 Sent 17 bytes
. 2013-01-18 14:49:57.002 There are 0 bytes remaining in the send buffer
. 2013-01-18 14:49:57.002 Read file '' from listing
. 2013-01-18 14:49:57.002 Read file '' from listing
. 2013-01-18 14:49:57.002 Read file '' from listing
. 2013-01-18 14:49:57.002 Read file '' from listing
. 2013-01-18 14:49:57.002 Waiting for another 4 bytes
. 2013-01-18 14:49:57.018 Detected network event
. 2013-01-18 14:49:57.018 Received 32 bytes (0)
. 2013-01-18 14:49:57.018 Read 4 bytes (28 pending)
. 2013-01-18 14:49:57.018 Read 28 bytes (0 pending)
< 2013-01-18 14:49:57.018 Type: SSH_FXP_STATUS, Size: 28, Number: 2572
< 2013-01-18 14:49:57.018 Status code: 1
> 2013-01-18 14:49:57.018 Type: SSH_FXP_CLOSE, Size: 13, Number: 2820
. 2013-01-18 14:49:57.018 Sent 17 bytes
. 2013-01-18 14:49:57.018 There are 0 bytes remaining in the send buffer
. 2013-01-18 14:49:57.018 ;d;4096;2013-01-18T13:38:10.000Z;"bafink" [1111];"nogroup" [65534];rwx------;0
. 2013-01-18 14:49:57.018 ;d;4096;2013-01-18T13:38:10.000Z;"bafink" [1111];"nogroup" [65534];rwx------;0
. 2013-01-18 14:49:57.018 ;d;4096;2013-01-18T13:38:10.000Z;"bafink" [1111];"nogroup" [65534];rwx------;0
. 2013-01-18 14:49:57.018 ;d;4096;2013-01-18T13:38:10.000Z;"bafink" [1111];"nogroup" [65534];rwx------;0
. 2013-01-18 14:49:57.127 Startup conversation with host finished.
empty_window.png (14.72 KB)

Description: screenshot of remote directory

empty_window.png

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
nemobob wrote:
I have a similar issue. The window on the remote host (Linux) is mostly empty, with only small icons where should be directory icons and names (see screenshot). I can change to these directories, but everything stays empty apart from those icons. No filenames. Here's the Debug 1 log, maybe you find sth there:

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