Remote SFTP Server – Empty Home Directory Error

Advertisement

NotSteve
Joined:
Posts:
3

Remote SFTP Server – Empty Home Directory Error

I have not had this happen before. Could this be on purpose?! I don't know.

When I typically connect to this remote server, WinSCP loads the list of one or two files. This month the remote folder is empty. There are no other folders on that server to browse, just /home/5222578.

Other Test For Comparison:

FileZilla does not display any error, just the empty folder.

OS:

Edition: Windows 10 Pro
Version: 21H2
OS Build: 19044.2130

WinSCP:

I am using the WinSCP GUI.

Version 5.21.5 (Build 12858 2022-10-06)

Here's the error message:
---------------------------
Error
---------------------------
Error listing directory '/home/5222578'.
---------------------------
Server returned empty listing for directory '/home/5222578'.
---------------------------
OK Help
---------------------------

Remote Server:

Maintained by a third-party vendor.

Protocol: SFTP
Port: 22
Host name: {redacted}
User name: 5222578

If a log is needed, I have one ready where the sensitive data is 'masked'. Let me know.

Thanks for your time and effort on my behalf.

~NotSteve :-)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,555
Location:
Prague, Czechia

Re: Remote SFTP Server - Empty Home Directory Error

Sorry, I do not know what is your question/problem. Are you asking why WinSCP displays the error? WinSCP does that when the listing is really completely empty, what usually indicates some deeper problem. Because normally, there are at least the .. and . entries. Post a log file, if you need more information.

Reply with quote

NotSteve
Joined:
Posts:
3

Re: Remote SFTP Server - Empty Home Directory Error

Another SFTP client does not display an error message dialog.

Why display an Error message dialog if the remote folder is empty.

After your error message dialog is closed, the folder does display with the "..".

Attached are screen captures and the log.

Thank you for your time and effort. I appreciate it.
  • WinSCP-SFTP-5222578@host-20221117-071623-masked.log (64.59 KB, Private file)
Description: Log file.
  • WinSCP-Empty-Remote-Folder-20221117-0717-Capture.PNG (11.31 KB, Private file)
Description: The empty remote folder double-dots.
  • WinSCP-ERROR-Message-Dialog-For-Empty-Remote-Folder-20221117-0717-Capture.PNG (8.38 KB, Private file)
Description: The error message dialog.

Reply with quote

martin
Site Admin
martin avatar

Re: Remote SFTP Server - Empty Home Directory Error

The behavior of the server is unusual. Whether it's an error or not is questionable. We/WinSCP chooses to notify the user about the unusual behavior. FileZilla chooses to ignore the behavior. That's all I can say about it.

Reply with quote

Advertisement

You can post new topics in this forum