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

Advertisement

Chanz
Joined:
Posts:
1
Location:
Germany

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

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. :-)

Thanks and best regards,
Chanz

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: WinSCP does not upload changed file when using external editors with tabbed interface

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.

Reply with quote

Chris123
Guest

Same Issue with WinSCP 5.7.5 portable

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: Same Issue with WinSCP 5.7.5 portable

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)?

Reply with quote

Nolias
Guest

Re: Same Issue with WinSCP 5.7.5 portable

martin 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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: Same Issue with WinSCP 5.7.5 portable

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.

Reply with quote

AlekseiGP
Guest

I have same issue, but workaround

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".

Reply with quote

madrian
Guest

hello

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?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: hello

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.

Reply with quote

Advertisement

Alex2057
Joined:
Posts:
1

Re: Do not save changes when you edit in Notepad++

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: Do not save changes when you edit in Notepad++

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.

Reply with quote

okuteur
Joined:
Posts:
1

Do not save changes when you edit in SublimeText 3

Hello,

I use WinSCP (5.13.1), and have the same issue when i edit and save a file with SublimeText 3.
When i save the file (in ST3), i see it in WinSCP GUI but i have to manually select and send it.

Can you help me ?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: Do not save changes when you edit in SublimeText 3

okuteur wrote:

I use WinSCP (5.13.1), and have the same issue when i edit and save a file with SublimeText 3.
When i save the file (in ST3), i see it in WinSCP GUI but i have to manually select and send it.
Please start a new thread and include detailed step-by-step instructions for reproducing your problem.

Reply with quote

Advertisement

You can post new topics in this forum