Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File.Copy and lock file
Message
From
19/02/2014 16:35:13
 
 
To
19/02/2014 15:44:48
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01594636
Message ID:
01594714
Views:
28
>>Another thing to consider - if both source and destination are the same NAS, is there a "native" copy API you could or should be using instead of Windows file system calls?
>
>This is something we would try to avoid. I am not aware of such utility.

By avoiding it you would avoid some extra work for yourself. But, it might eliminate the edge-case errors you're seeing. What's happening now to copy a file is pretty complicated:

Read from NAS native file system (maybe scanned by AV on NAS) -> NAS SMB emulator (e.g. Samba) -> network transfer to Windows machine performing the copy -> temp file on Windows machine (maybe scanned by AV) -> network transfer back to NAS SMB emulator -> write to NAS native filesystem (maybe scanned by AV on NAS)

A native call would eliminate a lot of that.

Performance might be a *lot* better. It might reduce pressure on both the NAS and the LAN, that might be an attractive feature you could sell to the client.

You told John there is a secondary process running - what is it?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform