Copy File from 1 domain to another

From: Divya (Divya_at_discussions.microsoft.com)
Date: 04/27/05


Date: Tue, 26 Apr 2005 16:48:04 -0700

Hello,

I am trying to copy a file from one domain to another. I have the username
and password of the destination domain. I tried a couple of options -
1. Using the Impersonator Class -
http://www.codeproject.com/useritems/ZetaImpersonator.asp

2. Using WebRequest object to write the file to the destination domain -
http://www.dotnet247.com/247reference/msgs/42/211482.aspx

Both these approaches gave me the same error - Access denied to MyFile.txt.

Could someone please give me a pointer to solve this problem?

Thanks,
-Divya



Relevant Pages

  • Re: Copy a file from 1 domain to another
    ... I have the username ... Using WebRequest object to write the file to the destination domain - ... > same internal network and not across the internet. ... > Could someone please give me a pointer to solve this problem? ...
    (microsoft.public.dotnet.languages.csharp)
  • Copy a file from 1 domain to another
    ... I have the username ... Using WebRequest object to write the file to the destination domain - ... same internal network and not across the internet. ... Could someone please give me a pointer to solve this problem? ...
    (microsoft.public.dotnet.languages.csharp)