Topic "Internal Editor not saving files properly"

Author Message
bjd223

Guest


Hello,

I do a lot of editing of PHP files from the web, and I must say winSCP has one of the best live editors I have seen yet.

Anyway Sometimes when I save a PHP (or HTML for that matter), I get some extra overlapping at the end of my files.

For example if my code ends with

[...]
<p>blah blah blah</p>

<?php

some php here

?>

<span>more html whatever</span>
<br>
</body>
</html>

At the end of the file I will get a random amount of the file duplicated below it like:

[...]
<p>blah blah blah</p>

<?php

some php here

?>

<span>more html whatever</span>
<br>
</body>
</html>
<span>more html whatever</span>
<br>
</body>
</html>


It never seems to be a set amount of the file duplicated at the bottom, but it is always about 4-6 lines. It also never looses code, just adds extra in.

It is a very strange problem and only happens every couple of days or weeks.

I am not infront of my computer, but I have the latest version of winSCP, and have not really changed any of the settings, except some of the timeout ones.

-Brian
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
What protocol are you using? What version do you use? The latest stable or the latest beta?
_________________
Martin Prikryl
bjd223

Guest


Okay I am back on the machine in question

I am using FTP protocol with the built in editor.

WinSCP is 4.0.7 (Build 370)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Thanks. Once it happens can you look up temporary local file that contains the text from editor and check if that file is already corrupted? You will find the file in subdirectory of temp directory configured in preferences. By default it is system temporary directory.
_________________
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