Beispiel #1
0
 public static void Copy(string sourceFile, string destFile, bool overwrite)
 {
     File.Copy(sourceFile, destFile, overwrite);
     SambaFile.GrantAccess(destFile);
 }
Beispiel #2
0
 public static void Copy(string sourceFileName, string destFileName)
 {
     File.Copy(sourceFileName, destFileName);
     SambaFile.GrantAccess(destFileName);
 }
Beispiel #3
0
 public static void WriteAllBytes(string path, byte[] bytes)
 {
     File.WriteAllBytes(path, bytes);
     SambaFile.GrantAccess(path);
 }
Beispiel #4
0
 public static void WriteAllText(string path, string contents)
 {
     File.WriteAllText(path, contents);
     SambaFile.GrantAccess(path);
 }
Beispiel #5
0
 public static void Touch(string path)
 {
     SambaFile.GrantAccess(path);
 }