phaolo: Wait a second, are you saying that you're stopping preallocation on NTFS? Please no, just add an option to disable it for those few who use network drives!
And it's great that you're finally creating your own thread!
Kalanyr: Only Linux + NTFS, still doing it on Windows.
Hmmmm, you make a good point though, I should reenable it for now , because it's possible the problem was trying to preallocate on NTFS being reported as NFS which no longer attempts preallocation anyway.
It happens also for me with using an USB hard drive, no NFS.
So the USB hard drive is formatted to NTFS, and if I run gogrepoc on Linux, trying to download to that USB hard drive, preallocation fails, every time, on every Linux PC with various different Linux distributions that I've tried. Happens with any NTFS formatted USB hard drive I've used.
I am pretty sure it would happen even if the NTFS formatted hard drive was internal, not an external USB or a NFS hard drive. Something in the way Linux handles the NTFS partitions is apparently incompatible with the way the script does the preallocation.
It would be simpler if the user could disable preallocation at will, either in the script itself (set some variable to 0 instead of the default 1; the same way the user can change e.g. the number of download threads within the script (I prefer 2 or 3 instead of the default 4)), or with an option in the command. Then those who run into the problem for any reason, or want to disable preallocation for whatever reason, can easily do so.
EDIT: I haven't tested the latest gogrepoc.py though, so in case there is some change now where it will not try preallocation if it detects NTFS on Linux, I don't know yet it if works right now.