Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading .part files (from another program) #49916

Open
PandaRoux8 opened this issue Dec 18, 2024 · 0 comments
Open

Uploading .part files (from another program) #49916

PandaRoux8 opened this issue Dec 18, 2024 · 0 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement hotspot: filename handling Filenames - invalid, portable, blacklisting, etc.

Comments

@PandaRoux8
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
We use a program that creates files with a .part extension, we would like to upload those files to Nextcloud.
Unfortunately the .part extension is forbidden and is hardcoded here.

(This program is not supported anymore and we can't change the extension of the files generated)

Describe the solution you'd like

  1. Having a system that change the extension of incoming files to something random and translate it to the original extension for the outgoing files
  2. A way to allow .part extension -> By overiding it in the config for example
  3. Using a really random extension (a uid for example)
  4. Allow users to configure a specific extension in place of ".part"

Describe alternatives you've considered
I tried to make an app that does the solution n° 1. That's how I discovered that the .part was hardcoded inside the getForbiddenExtensions()

Additional context
I'm willing to do a pull request and help make this feature. But I have no idea of how big of a change this is. However I think the solution n°1 I described would be a good solution, as it would completly negate the problems with sending files like .htaccess or *.part and so on.

@PandaRoux8 PandaRoux8 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Dec 18, 2024
@joshtrichards joshtrichards added the hotspot: filename handling Filenames - invalid, portable, blacklisting, etc. label Dec 20, 2024
@joshtrichards joshtrichards changed the title Program using ".part" files Uploading .part files (from another program) Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement hotspot: filename handling Filenames - invalid, portable, blacklisting, etc.
Projects
None yet
Development

No branches or pull requests

2 participants