Copy File from 1 domain to another

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Copy File from 1 domain to another

    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 -
    [url]http://www.codeproject.com/useritems/ZetaImpersonator.asp[/url]

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

    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
    Divya Guest

  2. Similar Questions and Discussions

    1. File::Copy
      Anyone know how to get File::Copy module to keep file permissions when it copies from one location to another? Thanks
    2. copy file
      Hello all I like to move a uploaded file but I get the warning I do not have the right priviliges I tried to change this with the ftp_site...
    3. copy only the pm file?
      Can i say that is an installation For example, i didn;t have the Tk::Columns so i download the pm file(source) and copied into the...
    4. File::Copy & CGI.pm
      From: "Yupapa.com" <webmaster@yupapa.com> This aint entirely true. You can use File::Copy to copy files to remote shares (Windows Networking),...
    5. File copy
      How can I copy a file from disk to server? Give me an example
  3. #2

    Default RE: Copy File from 1 domain to another


    Its me again....I forgot to add that this is a console application and the 2
    domains I am referring to are on the same internal network and not across the
    internet.
    Any help with this will be appreciated!

    Thanks.

    -Divya

    "Divya" wrote:
    > 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 approaches -
    > 1. Using the Impersonator Class -
    > [url]http://www.codeproject.com/useritems/ZetaImpersonator.asp[/url]
    >
    > 2. Using WebRequest object to write the file to the destination domain -
    > [url]http://www.dotnet247.com/247reference/msgs/42/211482.aspx[/url]
    >
    > 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
    Divya Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139