mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-30 23:29:29 -06:00
bumping version
This commit is contained in:
@@ -74,11 +74,15 @@ public class DeleteSourceDirectory : Node
|
||||
|
||||
if (args.IsRemote)
|
||||
{
|
||||
if (args.LibraryFileName.StartsWith(pathToDelete))
|
||||
{
|
||||
args.Logger?.ILog("Deleting original file remotely: " + args.LibraryFileName);
|
||||
args.DeleteRemote(args.LibraryFileName, false,
|
||||
null); // first delete the source file since its in this directory we are deleting
|
||||
}
|
||||
|
||||
args.Logger?.ILog("Sending request to delete remote path: " + pathToDelete);
|
||||
|
||||
if (args.LibraryFileName.StartsWith(pathToDelete))
|
||||
args.DeleteRemote(args.LibraryFileName, false, null); // first delete the source file since its in this directory we are deleting
|
||||
|
||||
bool deleted = args.DeleteRemote(pathToDelete, IfEmpty, IncludePatterns);
|
||||
if (deleted)
|
||||
args.Logger?.ILog("Successfully deleted remote path: " + pathToDelete);
|
||||
|
||||
Reference in New Issue
Block a user