Answer the question
In order to leave comments, you need to log in
Why are files not copied over the network?
Automatically copy a file from a local folder to a network folder. 4 times out of 5 it works.
Code example:
string fs = @"D:\Prog\today.txt";
string ft = @"\\10.50.21.164\TARGET\today.txt";
File.Copy(fs,ft,true);
Answer the question
In order to leave comments, you need to log in
Google suggested this: social.msdn.microsoft.com/Forums/vstudio/en-US/ffe...
I think that working with a network is somewhat different from working with files within the same machine. Whether at least asynchronously it is necessary to check up there is such a sphere. Trite - ping also can not always pass, and you write something there without checking for the presence of balls.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question