Copy/Move

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • -zir-

    #1

    Copy/Move

    Checkout System.IO.Direc tory.Move()
    -zir[color=blue]
    >-----Original Message-----
    >HI,
    >
    >I wish to write a program which copies / moves a file[/color]
    available in Computer[color=blue]
    >A present in domain X to Computer B present in domain Y[/color]
    (assuming user has[color=blue]
    >permission to both the domains and domain X and domain Y[/color]
    are connected[color=blue]
    >through network). Does .NET provide a direct function[/color]
    call or do we have to[color=blue]
    >use Win 32 API CopyFile / MoveFile to execute the[/color]
    action.[color=blue]
    >
    >TIA,
    >Gary
    >
    >
    >.
    >[/color]
  • Gary

    #2
    Re: Copy/Move

    Thanks for replying,

    But, I am not sure of the of the string value to be be formed for the source
    and the destination path. I have tried quite a few combinations but method
    is unable to find the source file. I want to copy a file from computer A
    present in domain X to computer B present in domain Y, can someone tell
    about the string value for source and destination path.

    Thanks again,
    Gary

    "-zir-" <mail@zirOnline .com> wrote in message
    news:1a9c01c372 e7$dd32ed60$a50 1280a@phx.gbl.. .[color=blue]
    > Checkout System.IO.Direc tory.Move()
    > -zir[color=green]
    > >-----Original Message-----
    > >HI,
    > >
    > >I wish to write a program which copies / moves a file[/color]
    > available in Computer[color=green]
    > >A present in domain X to Computer B present in domain Y[/color]
    > (assuming user has[color=green]
    > >permission to both the domains and domain X and domain Y[/color]
    > are connected[color=green]
    > >through network). Does .NET provide a direct function[/color]
    > call or do we have to[color=green]
    > >use Win 32 API CopyFile / MoveFile to execute the[/color]
    > action.[color=green]
    > >
    > >TIA,
    > >Gary
    > >
    > >
    > >.
    > >[/color][/color]


    Comment

    Working...