File Download Is HTML Instead of Real Data

Stacy Bell 41 Reputation points
2021-12-29T00:01:27.893+00:00

I'm using this example to download a file download-source-file-from-website-with.html. I got an error

The request was aborted: Could not create SSL/TLS secure channel.

I made a change in the registry to resolve it. cant-connect-project-online-odata-from-ssis The download has the pages html instead of the file data. Any ideas?

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2021-12-29T02:04:54.657+00:00

    Hi @Stacy Bell ,

    Are you trying to download a file from website?

    If yes, you may try with downloading-a-file-over-http-the-ssis-way to see if it is helpful.

    Also take a reference below:

    how-do-i-login-to-a-website-and-download-files-in-c
    how-to-download-file-and-then-mark-as.html

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Olaf Helper 47,436 Reputation points
    2021-12-29T07:21:26.843+00:00

    Could not create SSL/TLS secure channel.

    You try to download a file over a secured Https connection. SSIS standard tasks don't support that and all your examples are using unsecured Http connection, therefore non of them works for you.
    See instead How to download a file from http and https in C# ; you can use it in a SSIS Script task, as in one of the examples.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.