By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,709 Members | 2,157 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,709 IT Pros & Developers. It's quick & easy.

File copy

P: n/a
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.
Jul 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
> 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?
Jul 21 '05 #2

P: n/a

"Cor Ligthert" <no************@planet.nl> ha scritto nel messaggio
news:ex**************@tk2msftngp13.phx.gbl...
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?


I think CopyFile API doesn't check security permissions, but I'm not sure.
Jul 21 '05 #3

P: n/a
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?


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
Jul 21 '05 #4

P: n/a
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.

"Pino" <pi********************@gmail.com> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl...
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.

Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.