Custom Copy - Drive full bug
Posted: 01 Feb 2019 18:33
When you copy files on a drive which is nearly full, XYplorer shows a dialog, when not all files can be copied because of free size of the drive.
But XYplorer doesn't calculate with files which needs to be overwritten (with same file name). Windows Explorer file copy does.
Example
Copy <FileToBeCopied1> (1GB) and <FileToBeCopied2> (1GB) from Drive C:\ to Drive D. Drive D:\ has only 1,5GB left. On drive D:\, a copy of <FileToBeCopied2> (1GB) already exists, but another (old) version.
Now correctly calculated, it should Copy <FileToBeCopied1> and overwrite <FileToBeCopied2>, which is possible with the left file size. XYplorer custom copy shows, it can't copy the files and asks if you really want to continue.
The bug is, that XYplorer tests for remaining space instead of existing files (which can be overwritten) first.
But XYplorer doesn't calculate with files which needs to be overwritten (with same file name). Windows Explorer file copy does.
Example
Copy <FileToBeCopied1> (1GB) and <FileToBeCopied2> (1GB) from Drive C:\ to Drive D. Drive D:\ has only 1,5GB left. On drive D:\, a copy of <FileToBeCopied2> (1GB) already exists, but another (old) version.
Now correctly calculated, it should Copy <FileToBeCopied1> and overwrite <FileToBeCopied2>, which is possible with the left file size. XYplorer custom copy shows, it can't copy the files and asks if you really want to continue.
The bug is, that XYplorer tests for remaining space instead of existing files (which can be overwritten) first.