TeamAmaze / TeamAmaze/AmazeFileManager
Rename downloaded pages if the file name exists
@VishalNehra is already working on this.
Since Nov 9, 2020.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
While I like the feature which allows downloading pages when sending URLs to it, it has one problem:
When downloading the page a second time (i.e. because it has updated), then the existing HTML file will be overwritten.
Overwriting by default is a poor behaviour (not programmer's fault but default in UNIX, as far as I know, thus only a result of neglect), which has caused me to lose my backed up log by 3C Battery Monitor Widget (file name: bmw_history.txt).
Describe the solution you'd like
If the file name exists, rename the new files to example(1).html, example(2).html , and continuing.
Describe alternatives you've considered
Google Chrome for Android allows MHTML downloading, but not in Incognito mode.
Mozilla Firefox for Android allows PDF downloading, but PDF is not quite a website format (better than nothing, obviously).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.