Downloading to an unmounted location allowed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Confirmed
|
Low
|
Unassigned | ||
LinuxDC++ |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Steps to reproduce:
- Make sure that your partially downloaded files directory is on your regular hard drive
- Select a file to "download to..."
- Choose a directory on a USB memory stick or hard drive as the download location
- Wait until the file starts downloading
- Unmount your USB memory stick/hard drive
The files will continue downloading, but be stored in the unfinished download directory, the directory structure is not preserved
Actions like "open file" in the finished downloads list won't work
While not a critical issue, I had trouble finding my files after this happened once. It'd be good if a popup could appear that informs you that your files will be stored in the unfinished downloads directory, or perhaps create a directory in the user's home directory that contains the files in the proper file hierarchy
Either way, in good linux spirit, it's good if the user is told what's happening to their file system.
using linuxdc++ 1.0.3. on Kubuntu 9.10
Thanks for all your hard work! linuxdc++ is working very well!
tags: | added: core downloads |
Changed in dcplusplus: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | removed: downloads |
The reason why they were left in the unfinished dir is most likely that you didn't have permissions to write to the mount location after the volume was unmounted.
In general this also happens when destination dir becomes full. So I'd say the core should save the files to be copied somewhere (like Queue.xml) and retry the copy later when destination/more space becomes available. Instead of just leaving files to unfinished dir and discarding the directory structure.
--RZ