This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Saving and Resuming

Tags: None
(comma "," separated)
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Saving and Resuming

Wed Sep 21, 2005 7:56 pm
I just tried to switch to ktorrent as it looks great!

The first thing I noticed is that downloads are only saved in a static dir. I would really like to save files in a dir of my choosing which may be different for each download. It is possible to have ktorrent ask where to save each file?

I also tried to resume a partial download by copying some files over ktorrents partial files. Ktorrent must cache the parts it has and doesn't check for updates when the program starts. I wish ktorrent would re-examine the downloaded file and then download the mising chuncks.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Wed Sep 21, 2005 8:51 pm
The first thing I noticed is that downloads are only saved in a static dir. I would really like to save files in a dir of my choosing which may be different for each download. It is possible to have ktorrent ask where to save each file?

You should look into Settings->Configuration->General for "Automatically save downloads to...". When this option is checked, KT will automatically save your downloads to that directory. Just uncheck it and KT will ask you where to save your files.

As for the partial downloads - this is in TODO list for the next version.

Cheers,
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Thu Sep 22, 2005 10:56 am
Ivan wrote:You should look into Settings->Configuration->General for "Automatically save downloads to...". When this option is checked, KT will automatically save your downloads to that directory. Just uncheck it and KT will ask you where to save your files.


Hmm... With 1.1rc1, I have temp dir set to the default .kde.... and Dir to automaticall save download unchecked. All partial files are in the temp dir. Nothing has asked me where to save the files yet.

Unless you mean when the files are complete ktorrrent will either copy the completed files to the specified dir or ask me where to copy?

What I'm hoping for was to have the partial files saved to a dir of my choosing. Different downloads would be saved to different dir's.


I would think saving even the partial files to a user specified dir is better than moving them at a later time. Moving files to a different partition/disk is time consuming.
George
Moderator
Posts
5421
Karma
1

Thu Sep 22, 2005 11:42 am
Anonymous wrote:
Ivan wrote:You should look into Settings->Configuration->General for "Automatically save downloads to...". When this option is checked, KT will automatically save your downloads to that directory. Just uncheck it and KT will ask you where to save your files.


Hmm... With 1.1rc1, I have temp dir set to the default .kde.... and Dir to automaticall save download unchecked. All partial files are in the temp dir. Nothing has asked me where to save the files yet.

Unless you mean when the files are complete ktorrrent will either copy the completed files to the specified dir or ask me where to copy?

What I'm hoping for was to have the partial files saved to a dir of my choosing. Different downloads would be saved to different dir's.


I would think saving even the partial files to a user specified dir is better than moving them at a later time. Moving files to a different partition/disk is time consuming.


Saving only happens when the download is finished, and files are not copied they are moved to their final location, and a symlink to the file gets created in the temp dir.

We're going to change this. Basicly all we have to do is make the symlink immediatly. But it gets more tricky when we're dealing with multifile torrents and excluded files.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Fri Sep 23, 2005 9:53 pm
George wrote:Saving only happens when the download is finished, and files are not copied they are moved to their final location, and a symlink to the file gets created in the temp dir..



I thought this might be the case. I haven't finished a torrent to tell for sure :-)

I just wanted to make clear that since my "temp dir" is on a different partition/disk than my final/desired destination, even a move results in a long,slow high cpu usage copy of multi gig's of data :-(

I also don't believe you can link from one disk to another so your proposed fix won't work :-(
George
Moderator
Posts
5421
Karma
1

Sat Sep 24, 2005 8:57 am
Anonymous wrote:
George wrote:Saving only happens when the download is finished, and files are not copied they are moved to their final location, and a symlink to the file gets created in the temp dir..



I thought this might be the case. I haven't finished a torrent to tell for sure :-)

I just wanted to make clear that since my "temp dir" is on a different partition/disk than my final/desired destination, even a move results in a long,slow high cpu usage copy of multi gig's of data :-(

I also don't believe you can link from one disk to another so your proposed fix won't work :-(


I see no reason why it shouldn't work, if both filesystems support symlinks.
Maybe somebody with multiple partitions can try it out.
In the mean time you can set both directories on the same partition.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sat Sep 24, 2005 3:03 pm
No problems with symlink on multiple partitions here. Works just as expected.
slow high cpu usage copy of multi gig's of data

... this happens only when torrent download is finished and data gets copied to final destination - nothing more than usual file copy. Symlinks are then placed in temp dir which causes no slowdown.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Wed Sep 28, 2005 7:30 am
Thanks for the work on ktorrent. Your correct that the links will work, I don't know where I got that from.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell