Dev2.PathOperations.Dev2ActivityIOBroker.DoFileTransfer C# (CSharp) Method

DoFileTransfer() static private method

static private DoFileTransfer ( IActivityIOOperationsEndPoint src, IActivityIOOperationsEndPoint dst, Dev2CRUDOperationTO args, IActivityIOPath dstPath, IActivityIOPath p, string path, bool &result ) : void
src IActivityIOOperationsEndPoint
dst IActivityIOOperationsEndPoint
args Dev2CRUDOperationTO
dstPath IActivityIOPath
p IActivityIOPath
path string
result bool
return void
        static void DoFileTransfer(IActivityIOOperationsEndPoint src, IActivityIOOperationsEndPoint dst, Dev2CRUDOperationTO args, IActivityIOPath dstPath, IActivityIOPath p, string path, ref bool result)
        {
            if(args.Overwrite || !dst.PathExist(dstPath))
            {
                result = TransferFile(src, dst, args, path, p, result);
            }
        }