That would definitely make the behavior more intuitive and user-friendly. Right now, pasting a full file path like
A smarter approach would be for WinSCP to detect whether the pasted path points to a directory or a file:
This would make path navigation much smoother and align better with user expectations.
/etc/fstab causing an “Error listing directory” can be a bit confusing, especially since WinSCP already recognizes the file after navigating back up one level.
A smarter approach would be for WinSCP to detect whether the pasted path points to a directory or a file:
- If it’s a directory, open it directly (current behavior).
- If it’s a file, automatically open the parent directory and highlight/select the file.
This would make path navigation much smoother and align better with user expectations.