-
-
Notifications
You must be signed in to change notification settings - Fork 73
[BUG] - Current folder name also shown in remote files list #410
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When using FTP, I found that upon entering a folder, the current folder name would also be shown in the files list. Trying to enter it shows the "loading remote directory" prompt and logs it too in the bottom right, but nothing happens (since it's the current dir). This could cause confusion when using termscp.
Steps to reproduce
- Connect to a remote directory (bug was encountered when using FTP)
- Enter any folder e.g: foo
- See that foo's files list also includes
foo/
Expected behaviour
Current folder name should not be shown in files list
Environment
- OS: Arch Linux
- Architecture: x86_64
- Rust version: 1.94
- termscp version: 0.19.1
- Protocol used: FTP
- Remote server version and name: Linux 5.14.0-570.32.1.el9_6.x86_64 (using LiteSpeed web server)
Log
Additional information
Screenshot of termscp (inside wp-content folder showing the current folder too i.e. wp-content):
Screenshot of gftp in the same folder, correctly showing the files list without wp-content/:
Also, this issue occurs only when entering remote folders, not with local folders.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working