Skip to content

2.3.0 – a taken name: Stop and ask, New name, Overwrite or Skip

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 08:09
· 32 commits to main since this release

A taken name - you choose

The new field A taken name on the Transfer card decides what copy, move, unpack and upload do when the name is there already (remembered in your browser):

  • Stop and ask (the default) - nothing is done before you answer. A dialog shows each taken name with the size and date of the new one and of the one there (the newer date in bold): choose for each, or one choice for All. Cancel does nothing. Upload asks before the files are sent.
  • New name - name (2), as before.
  • Overwrite - the old file goes to the trash (it can be restored there).
  • Skip - the one there is kept.

Two folders of the same name are merged: the files inside follow the choice. A file against a folder of the same name only gets a new name; a protected file is never replaced; the same name twice in one transfer never replaces the first. The message lists what was renamed, overwritten and skipped. Without JavaScript nothing is overwritten.

Safer

  • The files of the program (its PHP files, fe-*.js, _trans*.json, the accounts, _assets) are never overwritten, deleted, renamed / moved or synchronized over - also with the restrictions removed. Before, a write account with the program folder as a write folder could replace a script of the program.
  • The quota of the shared folder counts only the difference when a file is overwritten.

Built with php2html 1.9.1 (bundled).

Updating from 2.2.x: replace folder-explorer.php, fe-upload.js and _trans.sys.json (copy your settings at the top of folder-explorer.php over; the accounts in fe-users.php stay).

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php