Files not uploading when editing

Advertisement

ryvix
Joined:
Posts:
1

Files not uploading when editing

Hello,

I noticed another older topic where someone replied recently about this issue and you said to make a new topic. So I'm doing that as well.

Basically when I edit a file on a remote system in Sublime Text and save it it's not auto uploading. When I edited it with the internal editor it seemed to upload fine.

This only started happening after I updated to the latest WinSCP version which I think was an RC that it wanted to auto update to.

I downloaded and installed the latest version of WinSCP from the Download page 5.17.10 (Build 11087) and it works fine there.

I attached some screenshots of the Editor preference screen.

Thanks!
Description: Editors preference screenshots

Reply with quote

Advertisement

some2lovewisp
Donor
Joined:
Posts:
9

Tested - Fixed, but internal editor still shows "read-only" and does not allow editing.

I have tested this bug, and editing is fixed with external editors, but one odd thing I noticed is that the Internal Editor is showing files as read-only and not allowing editing.

I don't normally use the internal editor, so I'm not sure if this issue is unrelated or if there's a separate option for that somewhere.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
35,731
Location:
Prague, Czechia

Re: Tested - Fixed, but internal editor still shows "read-only" and does not allow editing.

The Internal editor should be read-only for encrypted sessions only.
But the sessions with the file encryption do not allow uploads from external editors either (though it cannot make the external editors read-only obviously).
Are you using the file encryption?
https://winscp.net/eng/docs/file_encryption

Reply with quote

some2lovewisp
Donor
Joined:
Posts:
9

Re: Tested - Fixed, but internal editor still shows "read-only" and does not allow editing.

Yes.

I'm not sure what you mean by "the file encryption do not allow uploads from external editors".

With file encryption enabled, editing existing files with external editors works great, as does uploading new files.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Tested - Fixed, but internal editor still shows "read-only" and does not allow editing.

Indeed. But it's a bug. It should not be possible. Uploads from editors require a background transfer and they are not supported with file encryption:
https://winscp.net/tracker/1989

Reply with quote

some2lovewisp
Donor
Joined:
Posts:
9

Why is this not considered a feature, rather than a bug? It's extremely useful.

This is actually how I operate on a daily basis. It allows for a seamlessly encrypted documentation/development environment.

In combination with an encrypted local tmp folder, the files are encrypted at rest, in transit, and on the server. It's an elegant solution to secure documentation/development.

Please don't fix this "bug"!

Reply with quote

martin
Site Admin
martin avatar

The file encryption is not implemented to support parallel transfers. It may result in unencrypted files or duplicated encrypted files.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum