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

procedure to handle uploads with same name #71

Closed
hpvd opened this issue Mar 14, 2016 · 4 comments
Closed

procedure to handle uploads with same name #71

hpvd opened this issue Mar 14, 2016 · 4 comments

Comments

@hpvd
Copy link

hpvd commented Mar 14, 2016

If not already implemented a procedure to handle uploads with same name is need.
This may occur
by uploads

  • from different users e.g. very common things like "christmas-2015.mp4"
  • from same user e.g. when he/she uploads an image and after that he noticed something is wrong with it, corrects the problem and uploaded it again (without changing file name)
@hpvd
Copy link
Author

hpvd commented Mar 14, 2016

an idea would be to make it easy to attached things to filename like

  • upload timestamp 20160314160903 (begin of upload)
  • and /or advanced: user name (if logged in)

@hpvd
Copy link
Author

hpvd commented Mar 14, 2016

another idea would be to make a new folder for each uploader
with a name containing an individual combination

  • IP and
  • time at beginning of upload

and save files with original file names in it.

@hpvd
Copy link
Author

hpvd commented Mar 14, 2016

maybe the possibility to create "a new folder for each uploader" (optional)
could have in general some advantages, when processing files after uploads and there are several uploaded files per uploader/user/customer..

@arturi
Copy link
Contributor

arturi commented Mar 25, 2016

Thanks. This probably applies more to the server, though. Uppy itself is not “creating folders” or anything like that, it just acquires files, then maybe modifies them and then uploads to any location you specify. We are using timestamps to generate unique file IDs that are used internally to track upload progress and such.

@arturi arturi closed this as completed Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants