Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Error Error listing directory '/opt/tomcat' After change to new laptop

Do you have access to your old computer?
Did you transfer the settings from it?
https://winscp.net/eng/docs/config#transfer
You are likely using different site settings.
Particularly, did you really use SCP protocol? Shouldn't you use SFTP?
Kong

Error Error listing directory '/opt/tomcat' After change to new laptop

After I change to a new laptop and reinstall WinSCP, it give me this error and not able to login as before.
> 2025-11-05 17:19:50.974 unset "LS_BLOCK_SIZE" ; echo "WinSCP: this is end-of-file:$?"
< 2025-11-05 17:19:50.993 WinSCP: this is end-of-file:0
. 2025-11-05 17:19:50.993 Changing directory to "/opt/tomcat".
> 2025-11-05 17:19:50.993 cd "/opt/tomcat" ; echo "WinSCP: this is end-of-file:$?"
< 2025-11-05 17:19:51.018 WinSCP: this is end-of-file:0
. 2025-11-05 17:19:51.019 Getting current directory name.
> 2025-11-05 17:19:51.019 pwd ; echo "WinSCP: this is end-of-file:$?"
< 2025-11-05 17:19:51.040 /opt/tomcat
< 2025-11-05 17:19:51.040 WinSCP: this is end-of-file:0
. 2025-11-05 17:19:51.098 Listing current directory.
> 2025-11-05 17:19:51.098 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
. 2025-11-05 17:20:07.610 Waiting for data timed out, asking user what to do.
. 2025-11-05 17:20:07.610 Asking user:
. 2025-11-05 17:20:07.610 **Host is not communicating for 15 seconds.
. 2025-11-05 17:20:07.610
. 2025-11-05 17:20:07.610 Wait for another 15 seconds?** ()
. 2025-11-05 17:20:55.115 Answer: Abort
. 2025-11-05 17:20:55.115 Attempt to close connection due to fatal exception:
* 2025-11-05 17:20:55.115 **Terminated by user.**
. 2025-11-05 17:20:55.115 Closing connection.
. 2025-11-05 17:20:55.115 Sending special code: 1
* 2025-11-05 17:20:55.782 (EFatal) **Terminated by user.**
* 2025-11-05 17:20:55.782 Error listing directory '/opt/tomcat'.