Error when copying hughe files (>8.5GB)

Please report only one bug per message!

Moderators: white, sheep, Hacker, Stefan2

Post Reply
Norfolk
Junior Member
Junior Member
Posts: 5
Joined: 2010-02-21, 16:08 UTC

Error when copying hughe files (>8.5GB)

Post by *Norfolk » 2010-04-09, 17:29 UTC

I did some massive file-copying today and encountered errors, when the file is 8.5GB or bigger.

TC 7.50a aborts with the message:

*****
Error: Cannot write *******!
Please remove the write protection!
*****

A plain DOS-"Copy" did the job for those files right after TC aborted with said message.

As I did copy many files, I am very sure that the file-size of 8.5+ GB is the only reason for this message.
System: Win XP Prof 32bit SP3, local drives NTFS, ext usb-drive NTFS, and a ubuntu-ext3-Samba-share. I did various copy between those drives and it seems like all files failed which were bigger than 8.5, maybe 9.0 GB.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36425
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2010-04-09, 19:51 UTC

Strange, I'm not aware of any size limit in the CopyFileEx function. Does anyone else have similar problems?
Author of Total Commander
http://www.ghisler.com

Norfolk
Junior Member
Junior Member
Posts: 5
Joined: 2010-02-21, 16:08 UTC

Post by *Norfolk » 2010-04-10, 09:28 UTC

I just tried again and could not reproduce the problem.

it works without problem now.

yesterday - before a shutdown during night and reboot this morning - it happened all the time when files were 8.5+ GB and there was no hint of any other problems.

as i could not reproduce, i can only assume possible triggers somewhere along the road. i did various copying of about 1TB in total and about 300.000 files, as it was a massive cleanup-process including some tar-gzipping and unpacking etc. I also tried to copy big files on a FAT32-drive, which ofc did not work for max-filesize-limitations. the drive was formated to NTFS and reused later that way. maybe one of those issues triggered that mentioned problem, because even hours later, when there was no more archiving and fat32 involved, but only copying of big files from just 1 directory to another, the problem with filesizes >8.5GB still occured. so the reboot did help, maybe even a restart of TC would have, but i didnt check that detail.

well, i'll repost in case i got further informations.

Ро&am
Junior Member
Junior Member
Posts: 6
Joined: 2009-05-03, 21:39 UTC

Post by *Ро&am » 2010-10-24, 18:29 UTC

I have the same problem.
One days ago I install Windows XP sp3 to my new hdd.
Download TC 7.55a
Try to copy files from old 1Tb (Samsung HD103UJ) to new 2Tb (WD Caviar Green) , booth with NTFS.
I copy from D:\ to C:\x1000
It was without problem it works 12 hours and copy almost all information.
But in root (in D:\) I have 2 big files (sizes: 101Gb and 194Gb)
When it start copy firs ot them (101Gb) it stops at 14% and write error: "Please remove the write protection!"
I click button "Skip"
The second file (194Gb) stops at 7% and write the same error.
I click "Skip" , and after copy finishing , try copy each of this files separatly.
I try copy this files 5 times. Small file always stops at 14% , and big file (194Gb) stops at 7%.
When I change language settings in TC (set from English language to Russian) - smaller file go to copy till 31%

In moment when I start copy , in C:\ creates destination file and it have size like source file. When TC show error - destination file desapire.

BUT:
if I try copy file with DOS commands "COPY" or "XCOPY" it can't copy files to. Booth commands wait long time (they not show progress) and finaly write: "There are no resources to create file"
I don't know what of resourses is needed to simple copy file?
I have more then 1200Gb in C: , CPU have 30-40% in coping time , and new Windows XP use less then 300Mb of RAM (1Gb RAM on board).
In any case - it is NOT problem of Total Commander.

User avatar
petermad
Power Member
Power Member
Posts: 8032
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2010-10-24, 23:05 UTC

What are those 2 files? - are they being changed by the system or other programs frequently? - because TC might fail if the files changes during the copy process.
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.91 on Android 6.0
Get Extended Total Commander Menus | PHSM-Calendar

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36425
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2010-10-25, 15:24 UTC

It's possible that these files are locked (record-locking somewhere in the middle). You can check that with a tool like WhoLockMe or Unlocker.
Author of Total Commander
http://www.ghisler.com

AMteam
New Member
New Member
Posts: 1
Joined: 2010-11-01, 15:39 UTC

Post by *AMteam » 2010-11-01, 16:26 UTC

Hi,

I’ve encountered the same problem and I think I know what’s the reason. It happened when copying a file to USB-stick.

I also got the message;
‘Error: Cannot write: <path>

Please remove write protection!’
Then I tried it in Explorer and got this error:

‘The file ‘<filename>’ is too large for the destination file system.’

So the error is ‘correct’, but the description is wrong.

Thanks,
Gab

User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom » 2010-11-01, 19:36 UTC

Ро&am wrote:I have the same problem.
One days ago I install Windows XP sp3 to my new hdd.
Download TC 7.55a
Try to copy files from old 1Tb (Samsung HD103UJ) to new 2Tb (WD Caviar Green) , booth with NTFS.
Do you have the proper drivers/patches for XP?
WinXP can't handle a 2TB drive plug-n-play. I imagine you will run into all kinds of problems similiar to win98 (current?) and 2K's (old) 128GB partition limit.

voter
Junior Member
Junior Member
Posts: 2
Joined: 2010-12-23, 09:29 UTC

Post by *voter » 2010-12-23, 09:54 UTC

I got the same problem when copying, syncronysing big files(100MB and more) with a external usb drive.
Both bei
Local HDD -> External USB drive
External USB drive1 -> External Usb drive 2

Error accures accidentialy at any part of copy process, for instace 15 or 60% and if retry it could happen that the copyy would be successfull, but appeared by next big file.

I thought that may be some other program at same time trying to access the file, for instance I tried to switch of antivirus, but it dosn't help.

However, just by retrying mayn time I was successful and the files have been copied.

User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom » 2010-12-23, 11:44 UTC

Sounds like one or more of the following:
1) Your drive is bad.
2) The USB port isn't getting enough power.
3) Your PSU is bad.
4) RAM issues.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.

Post Reply