pingvin-share icon indicating copy to clipboard operation
pingvin-share copied to clipboard

🚀 Feature: Update files in an existing share

Open OPTips opened this issue 3 years ago • 6 comments

🔖 Feature description

Add and remove files in an existing share

🎤 Pitch

I like sharing multiple files in one share link. And sometimes, I want to add / remove some files in this share. That way, I do not have to generate a new share link.

So it would be great if we can upload or delete a file from an existing share.

OPTips avatar May 15 '23 09:05 OPTips

@OlivierProTips, don't you think that it is easier to just reupload the files you wanted to share, because it would become harder to have a button, to display an whole new page, to reupload new files as a temp share, zip the files again and replace everything. I think this is pretty unnecessary when you just have to reupload things, or just upload all the files the first time.

pierrbt avatar Jul 24 '23 10:07 pierrbt

@pierrbt From my point of view, it adds complexity. For instance, I share a bunch of files, for a project, and I want to update only one file. It is time consuming if I have to delete and send everything back, for only one changed file.

But I understand that it is a lot of works.

For that use case, I think I need a folder sharing system instead. :)

OPTips avatar Jul 24 '23 12:07 OPTips

Would it be an option to edit the 'sharableURL' later on? I would like to have a permanent URL, but be able to update the files. One way could be is to upload a new version to a temp url, wait till it is finished, delete the old share, and rename the temp url to the correct one

ghost avatar Jul 31 '23 18:07 ghost

I think it is necessary to be able to update the file list of existing shared links. For my use case, I wanted to share the list of files and add new files later. Since I will delete these files locally after uploading, without this feature, I need to download all the files and then upload them again, which is very unfriendly.

IvanLi-CN avatar Nov 01 '23 02:11 IvanLi-CN

I browsed the code, and it seems that the backend only needs to support adding and deleting File schema to achieve this function? I could try submitting a PR for both the front and backends to implement it.

IvanLi-CN avatar Nov 01 '23 05:11 IvanLi-CN

@IvanLi-CN Yeah feel free to create a PR :)

stonith404 avatar Nov 01 '23 07:11 stonith404