Re: get the actual size of a file



Mike <vimakefile@xxxxxxxxx> wrote:
> I think, depending on the OS (and if file copy is calling the right APIs),
> File.Copy can be a huge winner especailly if both the files are not on the
> same machine as the machine the copy is exceuted on. (For instance, \\machA
> executes File.Copy("\\machB\foo\bar", "\\machC\foo\bar"). This isn't a
> common scenerio, but I was under the impression that in certain
> configurations one could avoid the bits going through \\machA at all.

I'm not sure, to be honest. I think I'd want to see it working before
saying for certain either way :)

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
.



Relevant Pages

  • Re: Raise event inside a thread
    ... using monitors or a ManualResetEvent. ... Jon Skeet - ... If replying to the group, please do not mail me too ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Threading/Locking
    ... Then you stash the data in an ordered list which is then processed by ... Jon Skeet - ... If replying to the group, please do not mail me too ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to trigger other thread
    ... updates are "seen" or not. ... Jon Skeet - ... If replying to the group, please do not mail me too ... Prev by Date: ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: MemoryStream.Write() Offset cannot be zero
    ... a file - it's just like that, except it all stays in memory. ... Jon Skeet - ... If replying to the group, please do not mail me too ... Prev by Date: ...
    (microsoft.public.dotnet.framework)
  • Re: string.Empty
    ... that means that in the second line it will be unassigned (referencing ... null for lack of a better way of saying). ... Jon Skeet - ... If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.languages.csharp)