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

check filename just before the download! (File overwritten when created while waiting, merging of downloads with the same name) #151

Open
GoogleCodeExporter opened this issue Oct 1, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. start slimrat http://... & 
1.1. it checks for existing file / generates uniq filename
1.2. waits some time before download starts
2. file with the same name as downaloded is created by somebody
3. slimrat doesn't check for existing file again
4. slimrat overwrites the file without any warning

What is the expected output? What do you see instead?
check/genetare filename after wait(), when downloading really starts


Original issue reported on code.google.com by [email protected] on 11 May 2010 at 10:58

@GoogleCodeExporter
Copy link
Author

Downloading two files with the same name at once (in 2 threads, with same 
plugin or with two plugins) can writes both to ONE FILE (merged).

Testsuite: (if one plugin is not faster)

  slimrat http://www.filesonic.com/file/10450139/SLIMRAT_TEST_FILE http://leteckaposta.cz/291337027

Original comment by [email protected] on 11 Sep 2010 at 11:38

  • Changed title: check filename just before the download! (File overwritten when created while waiting, merging of downloads with the same name)
  • Added labels: Priority-Medium
  • Removed labels: Priority-Low

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant