Topic "Double click on unknown file"

Author Message
Wurm

Guest


Hi, I haven't found anything about this. Can someone give me a hint?

- I have changed standard operation on double click to "Edit".

- the editor is proper configured: If I use "Ctrl-E" on a file everthing works fine, the file is transferd and opened with the editor.

- if I double click on any file I get an error code 4. It seems that WinSCP wants to open the remote file "as a directory" instead of transfering it to my local machine

I am using the latetest version. Any ideas? Thanks!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please read documentation
_________________
Martin Prikryl
Wurm

Guest


I have read the documentation before, now I have read the part again you linked to. Thank you, but I don't see a solution for my problem. Can you give me an exact hint? Which option do I have to use?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Quote:
The option is effectivelly ignored when resolving of symbolic links is disabled for current session, in which case double-clicking file is always interpreted as attempt to open it, just in case it is unresolved symbolic link.

_________________
Martin Prikryl
Guest




I've done that, it doesn't work. I get an error no matter what I do.
dpknc84

Guest


^ My post, just to clarify.

I have symbolic links enabled and edit on double click set for my session. It doesn't work. It throws error code 4 no matter what I do. Bug maybe?

Frustrated.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
What version of WinSCP are you using? SCP or SFTP protocol? Can you post a full error message?
_________________
Martin Prikryl
dpknc84

Guest


Quote:
General failure (server should provide error description).
Error code: 4
Error message from server: None
Request code: 11



When trying to double click on a .cfm file using version 3.8.0 (build 312) of WinSCP. I'm using the SFTP protocol w/ SCP fallback.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I do not think that's a full error message. I think there is probably main error message and you posted is just a detail (debug) information, associated with it.
_________________
Martin Prikryl
Wurm

Guest


I don't know what you mean with 'a full error message' but this what you get. Can't you reproduce the error?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Wurm wrote:
I don't know what you mean with 'a full error message' but this what you get.

Typically, what was posted is message revealed if you press "more" button. There should be "main error", visible even without pressing "more" button.
_________________
Martin Prikryl
Wurm

Guest


'Fehler beim Anzeigen des Verzeichnisses "/export/home/myuser/file.txt"'

I have the german version. The english message should be something like

'Error when displaying directory "/export/home/myuser/file.txt"'
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I'm 99% sure that this is caused by you not having resolved symlinks. See the link in my first post. However, I've realized that there is not only possibility that you have disabled the resolving, but also that the server does not support it. This is the case for SFTP protocol version 2 and lower. This is very uncommon, but it can be the case. Is it?
Wurm

Guest


prikryl wrote:
This is the case for SFTP protocol version 2 and lower. This is very uncommon, but it can be the case. Is it?


It is. Many thanks!

sftp> version
SFTP protocol version 2

I have tried another server and it works. I guess there is no solution to get this feature work with SFTP protocol version 2?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Wurm wrote:
I have tried another server and it works. I guess there is no solution to get this feature work with SFTP protocol version 2?

Of course, I may add an option for this, but as SFTP version 2 is hardly used, I do not give it high priority.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License