首页 \ 问答 \ SSIS从多个子文件夹中获取文件(SSIS Get files from multiple subfolders)

SSIS从多个子文件夹中获取文件(SSIS Get files from multiple subfolders)

如何从多个FTP子文件夹中检索文件?

我有下一个结构:

  1. mainFolder
    1. subFolder 1 - >文件1,文件2,文件...(超过100个子文件夹)
      1. 子文件夹2 - >文件1,文件2,文件...(超过100个文件夹)
        1. 子文件夹2 - >文件1,文件2,文件...(超过100个文件夹)

我找到了下一个答案

一种方法是将每个源文件夹放在包中的变量中。 这将允许您为每个变量设置一个循环容器,并将每个路径作为参数传递给您的ftp任务。 会有一些开销因为您将构建并销毁每个循环的ftp连接,但这将使您获得参数化解决方案。

但我不能“将每个源文件夹放在包中的变量中”

有人可以告诉我如何完成这项任务吗?


How to retrieve files from multiple FTP subfolders?

I have next structure:

  1. mainFolder
    1. subFolder 1 -> File 1, File 2, File ... (more then 100 subfolders)
      1. subfolder 2 -> File 1, File 2, File ... (more then 100 folders)
        1. 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
更新时间:2023-04-05 06:04

最满意答案

我不能评论所以我会回答!

你提供的代码工作正常,当我把它连接到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 ...
  • 我不能评论所以我会回答! 你提供的代码工作正常,当我把它连接到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.
  • 你可以用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() + ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。