5.3 copy problem

Get help for specific problems
Posts: 4
Joined: 8 May 2012

smith1212

Hi, when I use version 5.3 to sync my PC to my Dlink Sharecenter 320, files
with size over 100mb will not copy correctly to the NAS. The copied file on
the NAS has a size of 0kb after the process. With Version 5.2 it works
flawless, everything copies fine.
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

2012-05-08 03:50:33 PDT

There are two changes to the copy routine in v5.3:
1. Use unbuffered copy to speed up copying large files (Windows Vista and later)
2. Preserve NTFS sparse files

What operating system are you using?
Posts: 4
Joined: 8 May 2012

smith1212

Win 7 professional 64bit
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

What are the results if using buffered file copy? Here's the old routine:
[404, Invalid URL: http://www.2shared.com/file/0IN6Y1rC/FreeFileSync_v54_beta_setup.html]
Posts: 4
Joined: 8 May 2012

smith1212

Works too. No problems.
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

It seems the NAS driver seriously messed up, by creating zero-sized files
instead of showing an error. Why do so many drivers not bother to report
failure? How could so much low-quality code ever pass QA? Ah, it's not them
who get blaimed but the layers of software above that fail miserably...

Maybe there is some way to fix this mess-up. Can you provide a process monitor
log (http://technet.microsoft.com/de-de/sysinternals/bb896645) of a single copy operation that fails as
described?
Posts: 4
Joined: 8 May 2012

smith1212

Sorry, can't do, process monitor gives me a bsod.
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

That's unfortunate. Google doesn't bring up any problems related to
"COPY_FILE_NO_BUFFERING", so it seems to work correctly in general. Is it
possible to update your NAS with a recent firmware?
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

Related?
[404, Invalid URL: https://sourceforge.net/tracker/?func=detail&atid=1093080&aid=3529683&group_id=234430]