I am pretty new to C# and I am trying to get my program to copy a file from one location to another. The method I have is as below;
private void CopyInstallF
Look at your sourceFile string and be aware of using the \, which could be interpreted as escape character.
sourceFile
\
To prevent this start your string with @
@
string sourceFile = @"F:\inetpub\ftproot\test.txt";
or
string sourceFile = "F:\\inetpub\\ftproot\\test.txt";