如何使用ssis将文件上传到一个驱动器?

How to upload files to one drive using ssis?

我正在寻找一种使用 SSIS 将文件上传到 One Drive 的方法。我研究过,有一些第三方工具,如 CozyRoc、KingswaySoft,它们提供一个驱动器连接管理器。那里的任何人已经有这样做的经验吗?如果是,请分享!

我们的 SSIS Productivity Pack offers OneDrive Destination component 支持来自 OneDrive 的 Create/Update/Delete 数据。您可以下载该工具包并尝试一下,如果您 运行 遇到任何问题,请随时告诉我们。我们非常乐意提供帮助!

我找到了一种无需任何第三方软件即可轻松完成此操作的方法。将一个驱动器下载到本地计算机,然后登录。 您可以上传、下载、删除 files.To 在 Windows 上映射 One Drive for Business 云驱动器,按照以下步骤

在文件资源管理器(我的电脑)中映射网络位置

       a. Open File Explorer (or My Computer in older Windows) and select This PC on the left side tree.

       b. Click on Add Network Location button in the ribbon (or right click on empty space in File Explorer and select Add Network Location).

Map network location in File Explorer here

       c. Click Next on Add Network Wizard window

       d. Click to select Choose custom network location and click Next

       e. Copy the URL from the address box and add Documents in the end like below example  

          https://<your Office365 tenant name>-my.sharepoint.com/personal/<yourrname>_company_com/Documents 

Add Network Wizard window

       f. Enter a name for your network location and click Next and Finish to complete the wizard.

network location name

      g. You will find the mapped network location in My PC section.

Mapped Network location

使用文件系统任务上传、创建、删除等。您就完成了。