implements the file moves ui

This commit is contained in:
Paul Schneider 2019-09-08 05:17:21 +01:00
commit 5692478b77
7 changed files with 351 additions and 172 deletions

View file

@ -60,6 +60,12 @@ namespace Yavsc.Helpers
UserDirectoryInfo di = new UserDirectoryInfo(UserFilesDirName, userName, subdir);
return di;
}
public static bool IsRegularFile(string userName, string subdir)
{
FileInfo fi = new FileInfo( Path.Combine(Path.Combine(UserFilesDirName, userName), subdir));
return fi.Exists;
}
// Server side only supports POSIX file systems
public const char RemoteDirectorySeparator = '/';