File Copy

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have an application that downloads files and then copies them to a
directory where other programs pick up the files and process them. I am
using System.IO.File.Copy to copy the file over. My question is, for very
large files will it appear in the directory while it's copying or does it
become available after it has arrived? We don't want the other programs
trying to process a file that is in the middle of copying.
 
I've always given the file a temporary name during the copy and then renamed
it after the copy was done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top