Bug 82756 - change download directory if unwritable
Summary: change download directory if unwritable
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 10:21 UTC by Steffen Kaiser
Modified: 2007-12-17 19:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Kaiser 2004-06-03 10:21:39 UTC
Version:           v0.8.4 (using KDE 3.2.2,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040401)
OS:                Linux (i686) release 2.6.5

When kget cannot create the target file, you get, for instance, "Access denied Could not write to". Then the download is just sitting around and you have no other option than to cancel it. It would be very helpful to change the download directory.
Comment 1 Lukas Appelhans 2007-12-16 20:48:34 UTC
You now have to choose a new dir, else the download will not added..
Comment 2 Steffen Kaiser 2007-12-17 08:18:36 UTC
What happens, when the target directory / file becomes unwritable?
Comment 3 Lukas Appelhans 2007-12-17 13:15:56 UTC
It downloads the file correct, but doesn't rename the *.part-file.

Lukas
Comment 4 Steffen Kaiser 2007-12-17 13:47:47 UTC
I'm currently using KGet v0.8.5 (Using KDE 3.5.5), here in the following scenario:

a) start a long lasting download
b) pause it (e.g. because the connection gets lost or one sets the download into pause mode)
c) chown the destination directory and *.part to root (or make the target unavailable by other means, e.g. it was in a /tmp/ directory that had been removed because the host rebooted)
d) set the download to "resume".

Error: Could not write to ... .

It is now possible in the current version of KGet to use "Copy URL to clipboard" and re-iniate a new download after the already existing (stalled) one is deleted.
I would suggest to ease this procedure. (clipboard might be overwritten in the time or something like that; it is not straight forward, too.
Comment 5 Lukas Appelhans 2007-12-17 19:07:51 UTC
Yeah, with copy to Clipboard, the source Url will be copied to the Clipboard. Perhaps we can add a "Redownload"-function or a "change-dest-dir"-function for 4.1 :)

Lukas