[Windows] Trying to seed from non-default directory makes qBt move files back to default directory

Bug #880379 reported by Jinx Dojo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qBittorrent
In Progress
Undecided
Christophe Dumez

Bug Description

On WindowsXP, using qBt version 2.8.5, I have "Save Files to location" selecting directory "A" and "Keep Incomplete Torrents" in directory "B".

I am attempting to resume seeding for a torrent I already completed via qBt. Basically, it was downloaded correctly (and verified): in directory "B" while incomplete, then moved to directory "A" upon completion. However, I then closed qBt and moved the files to directory "C" (a whole new folder on a different drive). When I reopened qBt, it couldn't find the files and thus reported it as 0%. As a consequence of this, I believe it tried to set the target directory to "B".

I of course tried setting the location of the files to directory "C", then hitting "Force Recheck", but it failed to find anything. I then tried deleting the torrent from the list, re-adding it in a paused state, then immediately setting location. I was happy when it started to show a % indicator, but quickly realized that qBt was *moving my files back* to the incoming directory ("B")! It's as if it thought it was "downloading" a new torrent from my other hard drive.

I'm sorry this is a long explanation, but I'm not sure how else to provide the best information. If you have any questions, please feel free to ask. I will happily try to reproduce the behavior. I'm on the IRC channel as well (as Jinx).

Jinx Dojo (jinxdojo)
description: updated
tags: added: seeding windows
Revision history for this message
Andrey Cherepennikov (andy-scull) wrote :

I can confirm it.
Steps to reproduce -
1. Create new or finish downloading any torrent.
2. Save .torrent file somewhere
3. Remove torrent from qbittorrent list
4. Move files somewhere from 'finished downloads' folder. Somewhere where you like them to be (movies folder for example)

/// And now if you want to seed that file in future...
5. Add same torrent to qbittorrent again.
6. Stop it immediately so it won't waste traffic.
7. Right click -> Set Location. Point it to the new folder where you file resides.
8. Right click -> Force Recheck.
qBittorrent does not access the complete file in new location, instead it rechecks the temporary download folder.
I confirmed it using Process Monitor - qbittorrent shows "download folder = x:\xxx\xxx\" in torrent properties, but in PM I see it's trying to read 'y:\yyy\tempBT\yyy.yyy' with results 'File Not Found' and such.

Also, after fixing the bug, please consider implementing a advanced 'select dir/move file' window where we could see -
1. list of files in torrent
2. 'new' folder
3. after selecting new folder, list of files will be checked against new folder contents and existing files will be marked with color or symbol - to show that this file's path is correct and qbittorrent really understands that this exact file already exists.
This is my personal wish, of course. It will help avoid situations where you change download folder for a torrent, and never know if the client will create a subfolder and try check files inside it or not.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok, I'll look into this, thanks.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → In Progress
milestone: none → 2.9.12
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.