SSIS从多个子文件夹中获取文件(SSIS Get files from multiple subfolders)
如何从多个FTP子文件夹中检索文件?
我有下一个结构:
- mainFolder
- subFolder 1 - >文件1,文件2,文件...(超过100个子文件夹)
- 子文件夹2 - >文件1,文件2,文件...(超过100个文件夹)
- 子文件夹2 - >文件1,文件2,文件...(超过100个文件夹)
我找到了下一个答案
一种方法是将每个源文件夹放在包中的变量中。 这将允许您为每个变量设置一个循环容器,并将每个路径作为参数传递给您的ftp任务。 会有一些开销因为您将构建并销毁每个循环的ftp连接,但这将使您获得参数化解决方案。
但我不能“将每个源文件夹放在包中的变量中” 。
有人可以告诉我如何完成这项任务吗?
How to retrieve files from multiple FTP subfolders?
I have next structure:
- mainFolder
- subFolder 1 -> File 1, File 2, File ... (more then 100 subfolders)
- subfolder 2 -> File 1, File 2, File ... (more then 100 folders)
- subfolder 2 -> File 1, File 2, File ... (more then 100 folders)
I found next answer
One approach would be to put each of your source folders in variables within your package. This would allow you to set up a Loop Container for each variable and pass each path in as a parameter to your ftp task. There would be some overhead because you would be building and destroying the ftp connection with each loop, but that would get you to a parameterized solution.
But I cannot "put each of your source folders in variables within your package".
Can somebody show me how to do this task?
原文:https://stackoverflow.com/questions/34721019
最满意答案
我不能评论所以我会回答!
你提供的代码工作正常,当我把它连接到Flot时,图表显示左边的完整条形图,我在这里创建了一个快速的小提琴: http : //fiddle.jshell.net/6xpLey6e/1/用IE和Chrome查看。
[将条宽更改为barWidth:24 * 60 * 60 * 1000,适用于全宽条]
必须有其他的东西在起作用。
I can't comment so I'll answer!
The code you've provided works fine when I plumb it in to Flot, the graph shows the full bar on the left, I've created a quick Fiddle here: http://fiddle.jshell.net/6xpLey6e/1/ and checked with IE and Chrome.
[Change the barwidth to barWidth: 24 * 60 * 60 * 1000,for full width bars]
There must be something else at play.
相关问答
更多-
对于寻找答案的其他人来说,这非常简单。 只需实现具有BarChartView的ChartViewDelegate ,并简单地实现方法func chartValueSelected(chartView: ChartViewBase, entry: ChartDataEntry, dataSetIndex: Int, highlight: ChartHighlight)然后您就完成了设置。 For anyone else looking for the answer it was quite straight ...
-
! 请参阅下面的更新! 如果您真的想要创建StckedBar图表,那么您的图表有两个问题: 如果要堆叠数据点,则需要具有有意义的x值; 没有他们怎么知道彼此堆叠什么? 你添加字符串,看起来很好,但根本不起作用。 那是因为DataPoint.XValue字段是double ,当你在其中添加string ,它被设置为0 !! 您的字符串将复制到Label ,否则会丢失。 因此,您需要提供用于x值的合适数值 。 而且您还需要对要堆叠的系列进行分组 。 为此,有一个名为StackedGroupName的特殊属性,用 ...
-
从minDate中减去一小时,然后在maxDate中添加一小时,以便在最小和最大数据的每一侧获得一小时的填充量。 这里的诀窍是使用d3.time.hour.offset并使用偏移量播放,直到看起来不错。 .x(d3.time.scale().domain([d3.time.hour.offset(minDate, -1), d3.time.hour.offset(maxDate, 2)])); ` 看到这个小提琴http://jsfiddle.net/austinlyons/ujdxhd27/3/ Sub ...
-
您应该尝试将其提炼为适合jsFiddle的较小示例,以便我们可以尝试一下。 但是,我注意到的一件事是,你正在做一个浅表,然后设置model.data和model.options。 因此,除非我遗漏了什么,否则当手表发生变化时手表不会闪光; 只有当模型本身发生变化 尝试传递true作为要观察的第三个参数。 Solution documented at AngularJS Google Group.
-
我能够通过调用xAxis.setAxisMaximum(6F);来完成它xAxis.setAxisMaximum(6F); I was able to accomplish it by calling xAxis.setAxisMaximum(6F);
-
为每个条形附加文本标签并设置x,y值,如下所示。 var textPadding = 15; canvas.selectAll(".bartext") .data(dataArray) .enter() .append("text") .attr("class", "bartext") .attr("text-anchor", "middle") .attr("fill", "black") .attr("x", function(d, i) { return margi ...
-
Flotcharts barChart第一个和最后一个栏被切断[重复](Flotcharts barChart first and last bar cut off [duplicate])[2022-01-27]
我不能评论所以我会回答! 你提供的代码工作正常,当我把它连接到Flot时,图表显示左边的完整条形图,我在这里创建了一个快速的小提琴: http : //fiddle.jshell.net/6xpLey6e/1/用IE和Chrome查看。 [将条宽更改为barWidth:24 * 60 * 60 * 1000,适用于全宽条] 必须有其他的东西在起作用。 I can't comment so I'll answer! The code you've provided works fine when I plum ... -
请参阅上面原始问题中的EDIT2。 See EDIT2 in the original question above.
-
Javafx BarChart颜色(JavaFX BarChart bar color)[2021-09-12]
你可以用css设置bar的颜色 .default-color0.chart-bar { -fx-bar-fill: ***** } .default-color1.chart-bar { -fx-bar-fill: ***** } ... 使用setStyle方法: 在Node类中使用lookupAll方法, 查找与给定CSS选择器匹配的所有节点,包括此节点和任何子节点。 如果未找到匹配项,则返回空的不可修改集。 该集明确无序。 代码: //set first bar color for(Node ... -
在尝试了很多东西后,我发现了这个解决方案, graph.getXAxis().setAxisMaximum(candleData.getXMax() + 0.25f); graph.getXAxis().setAxisMinimum(candleData.getXMin() - 0.25f); After trying many things, I found out this solution, graph.getXAxis().setAxisMaximum(candleData.getXMax() + ...