Old 02-16-2016, 06:23 AM   #1
hansvanmeteren
Junior Member
FlashFXP Registered User
 
Join Date: Apr 2015
Posts: 4
Default Backup of original files after edit

Where are the backups of original files after upload stored?

I want to use that possibility, checked it, but see no backup files.

FlashFXP version: 5.2.0. Build 3914:

FYI: Preferences > General > Remote edit > last check mark. Checked also in Option > General > View and edit files > File associations > items in Association list

FOUND. I had to turn some logfiles ON and the backups appear in the folder of the edited files

Last edited by hansvanmeteren; 02-16-2016 at 07:41 AM. Reason: Problem solved
hansvanmeteren is offline  
Old 02-16-2016, 07:29 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

A backup copy of the file is created on the server and contains the last modified date within the filename.

for example if I edit index.html using the remote edit feature and then save my changes there are now two files.

backup file: index_20151213_141950.html
new file: index.html
bigstar is offline  
Old 02-16-2016, 07:43 AM   #3
hansvanmeteren
Junior Member
FlashFXP Registered User
 
Join Date: Apr 2015
Posts: 4
Default

Thank you BIGSTAR. It turned out that I had not set logfiles to ON. I had to, to see them.
Hans
hansvanmeteren is offline  
Old 02-17-2016, 07:31 AM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Can you please show me which exact setting you changed? You shouldn't have to change any settings related to "logging"
bigstar is offline  
Old 02-17-2016, 02:56 PM   #5
hansvanmeteren
Junior Member
FlashFXP Registered User
 
Join Date: Apr 2015
Posts: 4
Default

Hello bigstar
I checked the following check boxes:
Preferences > General > Remote edit > last check mark.
Checked also in Options > General > View and edit files > File associations > items in Association list
and of course I turned logging ON

I turned LOGS OFF now and everything works, but the same behaviour as before: when loading the (external) file for editing no backup shows up after the first and subsequent edits. Only when I "re-open" the file (right click on the file name, choose "edit") the first and subsequent backups are made. I use Notepad++ for my editing needs.

English isn't my native language, so I hope I've been clear enough ;-)
hansvanmeteren is offline  
Old 02-21-2016, 01:37 PM   #6
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Thank you for the additional information.

The backup is created after your first save of a remote edit, subsequent saves do not automatically create backups, this was done to minimize the amount of backups created. (it was also done on the basis that most people keep the file open between edits and just save the file with most editors provide multiple levels of undo)

So the typical usage based on using Notepad++ might be as followed:

* Edit a remote file

(The user edits the file within Notepad++ and save the file; without closing Notepad++ or the file)
* FlashFXP detects the local file has changed.
* FlashFXP automatically uploads (and creates) a backup of the original file.
* FlashFXP uploads the modified file.

(the user makes additional edits within Notepad++ and saves the file again)
* FlashFXP detects the local file has changed.
* FlashFXP uploads the modified file.

If at any time you use the remote edit (right-click Edit) feature to re-open the remote file for editing then it will then create a new backup on the first save.
bigstar is offline  
Old 02-21-2016, 04:59 PM   #7
hansvanmeteren
Junior Member
FlashFXP Registered User
 
Join Date: Apr 2015
Posts: 4
Default

Thank you, all is clear and
Quote:
(it was also done on the basis that most people keep the file open between edits and just save the file with most editors provide multiple levels of undo)
makes sense ;-)
Hans

Last edited by hansvanmeteren; 02-21-2016 at 04:59 PM. Reason: typo
hansvanmeteren is offline  
Closed Thread

Tags
backup, edit, files, flashfxp, upload

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:09 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)