summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packman/windows/configure/fetch_file_from_s3.ps18
1 files changed, 1 insertions, 7 deletions
diff --git a/packman/windows/configure/fetch_file_from_s3.ps1 b/packman/windows/configure/fetch_file_from_s3.ps1
index 9e1b457..4d20a7f 100644
--- a/packman/windows/configure/fetch_file_from_s3.ps1
+++ b/packman/windows/configure/fetch_file_from_s3.ps1
@@ -4,16 +4,10 @@ param(
)
$source = "http://packman.s3.amazonaws.com/" + $sourceName
$filename = $output
-#$key64 = 'QHV0ME1AdDNHVEwkY3IxcHQk'
-#$key = [System.Text.Encoding]::GetEncoding(1252).GetString([Convert]::FromBase64String($key64))
-#$key = $key | ConvertTo-SecureString -asPlainText -Force
-#$credential = New-Object System.Management.Automation.PSCredential('svcgtlautomate', $key)
-#$cache = New-Object System.Net.CredentialCache
-#$cache.Add( "http://sso.nvidia.com", "NTLM", $credential)
$req = [System.Net.httpwebrequest]::Create($source)
$req.cookiecontainer = New-Object System.net.CookieContainer
-#$req.Credentials = $cache
+
Write-Host "Connecting to S3 ..."
$res = $req.GetResponse()