File copy

  • Thread starter Thread starter Pino
  • Start date Start date
P

Pino

What is the fastest way to copy a file from a device to a different
destination?

I know there is a difference between File.Copy and the FileCopy API.

Thanks,

Pino.
 
What is the fastest way to copy a file from a device to a different
destination?

I know there is a difference between File.Copy and the FileCopy API.

And what is that Pino?
 
Pino,
I think CopyFile API doesn't check security permissions, but I'm not sure.
When you are not sure about it, I would not bother about it. In this area we
are talking about trying performance win where even the 80/20 rule does not
exist. It is not reasonable to look for that. The hardware will forever be
the biggest bottleneck.

Just my thought,

Cor
 
Hi Pino,
File.Copy : Copies an existing file to a new file.
Regarding FileCopy API, my guess would be that its "similar" to File.Copy
but an unmanaged call.

Looks like File.Copy is a managed wrapper for the native FileCopy API.

Happy Coding.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Trouble with File.Copy 3
How to copy files within Local Area Network (LAN) 1
Copy file to remote PC 8
Exceptions 1
copying files 9
Excel Move or Copy Stopped Working? 0
File Compare 2
PowerBuilder or .NET 3

Back
Top