Fetching files stored in azure container using SSIS - Execute process task

淺唱寂寞╮ 提交于 2019-12-24 07:25:53

问题


Can any one suggest simple example to fetch the file from my windows azure container and place the file on local machine using SSIS - execute process task


回答1:


Based on this article, it seems that standard FTP is an option for you. To simplify your life, I'd create an ftp file that performs the download operations and then call that from your Execute Process Task via ftp.

Content of the batch would be approximately

Executable C:\Windows\System32\ftp.exe Arguments -s:"C:\myFTPcommands.txt' somewhere.azure.com

Contents of C:\myFTPcommands.txt would be

myusername
myPassword
bin
get myBlob.blob

You can test it by opening a command prompt (Win-R cmd) and then calling ftp -s:"C:\myFTPcommands.txt' somewhere.azure.com Once that's working successfully, try it from SSIS.

Reference example of command line ftp



来源:https://stackoverflow.com/questions/8365790/fetching-files-stored-in-azure-container-using-ssis-execute-process-task

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!