You may find some downloads get to 99.9% complete and then stop, never to finish. When this happens the likelihood is that the download is complete but has just got stuck, however you can’t see the files as they are still stored in a hidden temp folder called ‘@download’. Follow these steps to retrieve partial downloads from a Synology NAS.
1. Login to the DSM (Disk Station Manager) as ‘admin’ and enable the telnet service under ‘Network Services > Terminal’
2. Create a new share under ‘Privileges > Shared Folder’ and call it temp. Read/Write permissions should be left open, the folder can be deleted when we are finished.
2. Open command prompt in windows and start a new telnet session
telnet: 192.168.0.2 (Where ‘192.168.0.2’ is the IP of your diskstation)
3. Enter ‘root’ as the username, press enter
4. Enter your admin password, press enter
5. Type the following
"mount --bind /volume1/@download /volume1/temp"
6. Navigate to the new shared folder in windows (\192.168.0.2temp) entering your user credentials when prompted, you may want to map a drive to it for ease of access.
7. Each of your partial downloads will be located under separate folders, copy the data you require to another folder.
Once you have successfully retrieved the partial downloads, you can stop and remove the downloads via download manager. You may then want to delete the temp folder.
Appendix A: If the telnet command is not recognised you need to first install the telnet service via Add/Remove Windows Components, or if you’re running Windows 7 with the following command (administrator privileges):
25 thoughts on “How to: Retrieve partial downloads from a Synology NAS”
you saved me loosing a 20gb download with this..thanks a bundle!!
Helped me resume some large downloads – and taught me how to use telnet. Cheers!
I get stuck on telnet part (W7), but i used WinSCP (part of Altap Salamander, between others) – just simply log to Diskstation (adress: diskstation user:root), go one folder up and voiala: i can browse whole DS, and @download too:
PS: I you prefer telnet, you can use program PuTTy (but it is able to use SSH too)!
Thank you so much for this I had a 25gb download and this got it all back for me!
Thanks very much for this…
I was wondering why volume 1 was almost full when my two shared folders contained just a few hundred gigs. And I found more than 1 TB of data that Download Station hadn’t deleted after copying the downloaded torrentdata the other disks. And thanks to your trick I didn’t have to do all the deleting in terminal. Ty
Very helpful and let me recover lost downloads. However, when I try and delete the temp directory I get en error saying I have to unmount the file system. Very new to linux – what is the correct syntax for that?
Thank you for the tip!
After finding the partial download I tried to delete the temp folder in Control Panel > Shared Folder.
But the Synology says I have to unmount the virtual drive in the shared folder.
I then tried telnet
but I got a “Operation not permitted”
Any ideas on how to proceed?
Very helpful!! Thanks!
Great tip! Thank you!
I was searching how to access finished files while torrent is still downloading, you gave me the solution, thank you 🙂
Followed the instruction to type in “mount –bind /volume1/@download /volume1/temp”, the NAS replied “mount: mounting /volume1/@download on /volume1/temp failed: No such file or directory”. Please advise solution.
I had that resolved. I forgot to Create New Shared Folder and now okay. Thanks for your great advice.
Thanks ! I was downloading a series of files and needed the one that finished first (that I marked with High Priority) before the rest got in.
Hi, I tried this to recover a 15 GB download and worked like a charm!
However, when I try to delete the Temp folder, I keep getting a warning saying that I have to unmount the virtual drive in the shared folder.
How can I do it in telnet?
Worked perfectly, thanks!!
Very useful, I was looking for this not only for unfinished downloads but also as to check the content of a large file before downloading it all and find eventually having spent hours for downloading something unwanted.
One thing though I have noticed is that the mapped drive will appear empty next time you reboot you NAS. Is the mount procedure you advised only valid for that session or it should be permanent?
It seems that I loose this mount point after awhile.
II suspect is that it is not permanently, so during a reboot, the mount is lost.
Is this correct?
And, could I add an entry to the fstab file to have it always be mounted, or is there some other way.
My guess is that the fstab entry would be something like:
/volume1/@download /volume1/temp ext4 defaults 1 1
Great tip! Much better than copying to a share or external drive. Saved me a lot of time. Thanks.
I tried a few months ago your solution and it worked but today i tried and when i write the mount command say “mount: permission denied (are you root?)”. I access with the admin user like the another time. You know what is the problem? Thank you!!
You have to use root user, with your admin password
How do you unmount it? I’ve tried umount /volume1/temp but I still can’t remove the temp folder.
In addition, to make this configuration permanent (as it is right now, once you restart the device or do an upgrade the setting is gone), do the following:
1. create a file called “partial_download.sh” under /usr/local/etc/rc.d/
2. populate this file with the following content:
case $1 in
mount –bind /volume1/@download /volume1/temp
echo -e “Nothing to stop…”
After this, your configuration should be able to stick…
Oops… I missed the first line of code: