Topic "External Editor opens with incomplete file"

Author Message


I recently setup XnView as an external editor for image files (.bmp,.png,.jpg etc), as the default editor is not apt for this. When double-clicking (default action: edit) an image file on the remote side pane, XnView opens correctly, but the image is garbled as though the image it is attempting to view is incomplete. Opening the same file via Edit in the Local pane has no problems.

Here is a image showing the difference between remote pane and local:

click above for a full-sized image.

Is WinSCP opening the external editor before the file has been transfered completely? A transfer box appears after double-clicking, but closes immediately without updating progress.

I am using the newest WinSCP version, Norton style, and using SFTP-3 transfer protocol (via ssh keys).
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
I would suspect that you have not disabled the editor option Force text transfer mode for files edited in external editor.
Martin Prikryl


Ah ha! Thank you, that was exactly the problem. Thanks for your help!

Glad it was such a simple fix, and I'm surprised that I couldn't find a similar thread by searching. Oh well, the next person will find this hopefully.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License