Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. how to copy a file machine A into Machine B

how to copy a file machine A into Machine B

Scheduled Pinned Locked Moved Web Development
csharpasp-netsysadmintutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bibhash Mishra
    wrote on last edited by
    #1

    Hi i have to copy a file from my machine to another machine in same network using an ip address in asp.net 1.1 using C#. how it will be done.

    N L P 3 Replies Last reply
    0
    • B Bibhash Mishra

      Hi i have to copy a file from my machine to another machine in same network using an ip address in asp.net 1.1 using C#. how it will be done.

      N Offline
      N Offline
      nickmaroulis
      wrote on last edited by
      #2

      It would probably be best to set up a shared folder with access between the 2 machines and go from there using standard file operations

      1 Reply Last reply
      0
      • B Bibhash Mishra

        Hi i have to copy a file from my machine to another machine in same network using an ip address in asp.net 1.1 using C#. how it will be done.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Bibhash Mishra wrote:

        i have to copy a file from my machine to another machine in same network using an ip address in asp.net 1.1 using C#

        I suppose you can run asp.net application on both machines. 1. Write a web service for the machine that will receive file. 2. On the sending machine, pick the file, convert it into byte stream. Open a TCP connection(Socket) with the receiving machine, transfer the file and close the socket. 3. The web service will receive the byte stream and will write file to disk.

        1 Reply Last reply
        0
        • B Bibhash Mishra

          Hi i have to copy a file from my machine to another machine in same network using an ip address in asp.net 1.1 using C#. how it will be done.

          P Offline
          P Offline
          PauloCastilho
          wrote on last edited by
          #4

          If the machines are in the same network, all you have to do is grant write permission to ASPNET user on the destination folder.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups