Topic "WinSCP does not upload changed file when using external editors with tabbed interface"

Author Message
Chanz
[View user's profile]

Joined: 2015-07-08
Posts: 1
Location: Germany
Hi,

TL;DR
when using an external editor to edit a remote file via SFTP the file is not uploaded when its saved.

My Setup
I'm using WinSCP 5.7.4 on my Laptop (Win 8.1 Pro 64 Bit) and WinSCP 5.5.4 on my Desktop (Win 7 Pro SP1 64 Bit).
Everything that follows has been an issue on my Laptop, on my Desktop 5.5.4 of WinSCP works as expected. Please notice installing 5.5.4 on my Laptop does not fix the problem, even when uninstalling WinSCP and all its settings, before the reinstallation of 5.5.4.

I'm using the German locales on my Laptop and the English locales on my Desktop. Installing 5.5.4 in English on my Laptop didn't work either.

Details
I'm using Sublime Text 3 and additionally tested with Notepad++ to edit files, but they are never uploaded.

I've got the upload to work when I checked "External editor opens each file in seperate window (process)" and then closing Notepad++ or Sublime Text 3 after editing and saving a file.

I guess the problem is with the tabbed interface and WinSCP can't detect if the file has been modified in the temp directory.

Running WinSCP with Administrator rights didn't help either.

I hope we can fix this issue. Smile

Thanks and best regards,
Chanz
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
Chris123

Guest


Good Morning,

I face now the same Issue. Also with german languaged WinSCP (5.7.5) and Notepad++. Can you tell me how to fix this?

Kind Regards,

Chris
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Chris123 wrote:
I face now the same Issue. Also with german languaged WinSCP (5.7.5) and Notepad++. Can you tell me how to fix this?

In WinSCP GUI in Commander interface, is a local panel automatically refreshed when a directory shown in the local panel is changed (e.g. a file is added)?
Nolias

Guest


prikryl wrote:
Chris123 wrote:
I face now the same Issue. Also with german languaged WinSCP (5.7.5) and Notepad++. Can you tell me how to fix this?

In WinSCP GUI in Commander interface, is a local panel automatically refreshed when a directory shown in the local panel is changed (e.g. a file is added)?

Hello, I have the same issue. When editing files in Notepad++, WinSCP not upload files after saving them.

In GUI, when I add file (in Explorer) to folder displayed in the local panel, view is refreshed.

Sorry for my English.

Nolias.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Nolias wrote:
Hello, I have the same issue. When editing files in Notepad++, WinSCP not upload files after saving them.

In GUI, when I add file (in Explorer) to folder displayed in the local panel, view is refreshed.

Thanks for your report.

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
AlekseiGP

Guest


Hello! I have same issue with Notepad++. I change it to short path C:\Temp\WinSCP, and it works now. Preferences - > Storage - > Temporary directory, set path in "Use this directory".
madrian

Guest


Hi,

I have similar problem: when I hit save in the external editor, then it is not immediately saving/uploading the file on the FTP server, only when I quit from the external editor.

It is not possible to immediately save/upload modificated file when I hit save in the external editor?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
And I have the same answer:

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
Alex2057
[View user's profile]

Joined: 2016-11-14
Posts: 1
Hello!
I have the same problem with Notepad++, like Nolias.
Changes made to the file on the server is not saved. It does not appear at the bottom of the window "Background Transfer".
But if you choose a different editor (notepad), changes will be saved.
If you are editing a file on the local disk, then the changes will be made.
This problem has recently appeared.
The server is located in a local network. Put WinSCP on another local PC, - everything is working properl!! WinSCP settings and Notepad++ the same on both PC.
Rearranges WinSCP and Notepad ++, but nothing has changed.
Configuration:
Windows XP SP3
WinSCP v. 5.7.5 (build 5665).
Notepad++ v.5.7

Sorry for my English.

Thank you.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
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