Robocopy-数据二极管应用

问题描述

我感觉自己是一个简单的文件传输应用程序,似乎无法提出解决方案。

我有一个将文件(SMB2)随机写入目标位置的应用程序。我们将其称为源目录:

<select id="msel" style="width:300px"> <optgroup label="Alaskan/Hawaiian Time Zone"> <option value="AK">Alaska</option> <option value="HI">Hawaii</option> </optgroup> <optgroup label="Pacific Time Zone"> <option value="CA">California</option> <option value="NV">Nevada</option> <option value="OR">Oregon</option> <option value="WA">Washington</option> </optgroup> </select> <script> var memoryOne; $("option").mouseover(function () { var selectedOne = $("optgroup:nth-of-type(1)").children("option:selected").index(); memoryOne = selectedOne; }).click(function () { var theSelectedIndex = $(this).index(); var theParentIndex = $(this).parent().index(); setTimeout(function () { clickEvent(theSelectedIndex,theParentIndex,memoryOne); },1); }); function clickEvent(passedIndex,parentIndex,memoryOne,memoryTwo) { var selectionOne = memoryOne; var theParent = $("optgroup:eq(" + parentIndex + ")"); var theOption = $("optgroup:eq(" + parentIndex + ") option:eq(" + passedIndex + ")"); var theGrandParent = $("select"); theParent.find("option:not(option:eq(" + passedIndex + "))").prop("selected",false); } </script>

和目的地:

C:\source

目标目录被配置为硬件单向网关的起飞点,该网关可以按任何定义的时间间隔执行传输。传输文件后,“目标”中的文件将被自动删除。这无法更改。

一个主要问题是,如果您在其他过程中中断SMB2传输,则会丢失数据。如果我使用robocopy C:\destination,它总是要复制/MIR or /MOT or /MON目录中的每个文件,无论它是否已更改。我想要的东西只会从源目录中复制/移动 new 文件,而不关心源目录中的内容。是否有选项或应用程序?

使用以下命令,在发生新的c:\source传输时,将复制源目标中的每个文件。

SMB2

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...