<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.7" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: SSIS - download a file from a website</title>
	<link>http://www.proteanit.com/b/2008/05/14/ssis-download-a-file-from-a-website/</link>
	<description>pro·te·an   (prō'tē-ən, prō-tē'-)  "Exhibiting considerable versatility or diversity"</description>
	<pubDate>Wed, 08 Sep 2010 14:05:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>

	<item>
		<title>by: Frank</title>
		<link>http://www.proteanit.com/b/2008/05/14/ssis-download-a-file-from-a-website/#comment-22932</link>
		<pubDate>Mon, 22 Jun 2009 18:55:30 +0000</pubDate>
		<guid>http://www.proteanit.com/b/2008/05/14/ssis-download-a-file-from-a-website/#comment-22932</guid>
					<description>Hi James,

Your point about hard coding is valid. It's always best to derive or configure any types of parameters. 

If I'm understanding you correctly you are talking about authenticaion against a proxy. When I wrote this code, I was using these credentials to authenticate with a 3rd party website rather than the proxy server (which used Windows authentication anyways).

e.g. If I've protected a folder on my website with an apache .htaccess file, then I can use these credentials to authenticate.

I think that for a corporate intranet/sharepoint site, your idea of using default credentials would be perfect though.

Cheers
Frank</description>
		<content:encoded><![CDATA[<p>Hi James,</p>
<p>Your point about hard coding is valid. It&#8217;s always best to derive or configure any types of parameters. </p>
<p>If I&#8217;m understanding you correctly you are talking about authenticaion against a proxy. When I wrote this code, I was using these credentials to authenticate with a 3rd party website rather than the proxy server (which used Windows authentication anyways).</p>
<p>e.g. If I&#8217;ve protected a folder on my website with an apache .htaccess file, then I can use these credentials to authenticate.</p>
<p>I think that for a corporate intranet/sharepoint site, your idea of using default credentials would be perfect though.</p>
<p>Cheers<br />
Frank
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: James Pua</title>
		<link>http://www.proteanit.com/b/2008/05/14/ssis-download-a-file-from-a-website/#comment-22929</link>
		<pubDate>Mon, 22 Jun 2009 18:29:31 +0000</pubDate>
		<guid>http://www.proteanit.com/b/2008/05/14/ssis-download-a-file-from-a-website/#comment-22929</guid>
					<description>Hi Frank,
I think the credential should be set to WebProxy instead of WebConnection and you could use the .UseDefaultCredential = True to avoid hard code username and password in source code (or in configuration file)</description>
		<content:encoded><![CDATA[<p>Hi Frank,<br />
I think the credential should be set to WebProxy instead of WebConnection and you could use the .UseDefaultCredential = True to avoid hard code username and password in source code (or in configuration file)
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
