But if I paste the full path into the address bar of Winscp it gives me an error: no such file or directory.
So I have to remove the filename from the full path and then manually find the file in the directory listing.
If possible, if an user pastes path and presses enter:
- is path an existing directory? list its content in Winscp (actual behavior).
- is path an existing file? open the file into the editor and list the content of the directory of the file in Winscp.
- not existing file or directory? error.