Problem with System.IO.File.Copy method

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QmxhaXI=?=

    Problem with System.IO.File.Copy method

    I have an Windows forms application that uses the File.Copy method to copy
    several files from a network file share to a folder on the local PC (the PC
    running the windows form application). The problem I've run into is that
    sometimes, chunks of the file content are not copied. For example, a 832Kb
    file on the network share is copied, but the size on the local folder is less
    than 100kb. The file is readable, but not all of the content is present.
    The troubling part of this is that no exception is thrown. Anyone have an
    idea how this could happen and what I might be able to do about it?
    --
    -Blair
  • xcal

    #2
    Re: Problem with System.IO.File. Copy method

    .... try different kind of files. hope this helps, Carlos.

    "Blair" <Blair@discussi ons.microsoft.c omwrote in message
    news:1BE4BC9B-8136-40DE-AF5C-40BB5C4D4399@mi crosoft.com...
    I have an Windows forms application that uses the File.Copy method to copy
    several files from a network file share to a folder on the local PC (the
    PC
    running the windows form application). The problem I've run into is that
    sometimes, chunks of the file content are not copied. For example, a
    832Kb
    file on the network share is copied, but the size on the local folder is
    less
    than 100kb. The file is readable, but not all of the content is present.
    The troubling part of this is that no exception is thrown. Anyone have an
    idea how this could happen and what I might be able to do about it?
    --
    -Blair

    Comment

    Working...