Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Files not moved to save location when too long #10121
qBittorrent version and Operating System
Windows 7 (64-bit)
What is the problem
Files that have a long file name are downloaded fine, but are not moved when the torrent is completed and relocated to the save directory.
In the case I encountered it, the subdirectory was 190 characters long and successfully created in the save location, but all the files within that subdirectory exceeded 255 characters (full path name) and were not moved.
When I subsequently relocated the torrent by changing category when using Automatic Torrent Management the empty directory was not created in the new location moved to and still no errors reported in the log. The files were just absent and the move reported no errors!
What is the expected behavior
Files with long file names should to be moved!
Steps to reproduce
Failure to move or report error on completion
Log will now report a successful move to save location, but files with a long file name will be absent from save location and still remain in incomplete location
Failure to move or report error on location move
Log will now report a successful move to new location in spite of files being absent
This will likely be a consequence of not using the
Potentially same issue as #9447 if reporter didn't realise it was the moving on completion that caused the problem, and not the downloading itself. If you check the save location the files are missing as they were not moved, so it would be easy to think they were not downloaded, but they are present in the incomplete location!
same here, thanks for reporting. I have to check each "completed" directory, if there are leftovers in the "download" directory. If so, I have to move them manually with Total Commander. Total Commander will report, that the length limit is exceeded but will be able to move anyways.