Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7915857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:36:10+00:00 2026-06-03T14:36:10+00:00

I am in the process of migrating legacy data to a new system. I

  • 0

I am in the process of migrating legacy data to a new system. I need to copy something in the area of 10000 files from one directory structure to another. Both the old and new directory structure are on the same file server, somewhere in a data-center in another country. I have to run the application that takes care of copying the files locally (not on the remote file server).

My current implementation reads one file at a time into a memory-stream. Then writes the memory stream to a newly created file in the other location. This works fine, however it is obvious that I transfer every file from the file server to my local machine and then back to the file server.

I would like to know if it would make a difference if I used File.Copy(src, trg) instead. Would Windows be clever enough to handle the process of copying the files remotely (on the file server) without sending a single byte of filedata over the wire in the process?

If this cannot be done using File.Copy(…) is there another way of reaching my goal of handling the file-copy operation entirely remotely?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:36:11+00:00Added an answer on June 3, 2026 at 2:36 pm

    Short answer: No, it wouldn’t.

    Can you log into the remote server? Then you could start the job there…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am in the process of migrating data from one database to another. The
We're in process of migrating one stable project from Castle Windsor 2.5.2 to 3.0.
We are currently in the process of migrating from an aged proprietary directory service
I am in the process of migrating a large amount of data from several
I am in process of migrating my old domain to new domain using Apache
I am in the process of migrating from a Django FastCgi setup in Apache
I'm in the process of migrating a rather extensive REST service from WCF to
I was just testing the process of migration of data from M/S to HRD,
I am in the process of migrating an application ( Sage ) from Twisted
I am currently in the process of migrating an old system to another server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.