diff --git a/scripts/deploy-ftp.ps1 b/scripts/deploy-ftp.ps1 index d794227..7d75952 100644 --- a/scripts/deploy-ftp.ps1 +++ b/scripts/deploy-ftp.ps1 @@ -12,7 +12,7 @@ $WinScpPath = "C:\\Users\\frank\\AppData\\Local\\Programs\\WinSCP\\WinSCP.com $RecycleAppPool = $true $AppPoolName = "xTr1m.com(domain)(4.0)(pool)" $WinRmComputer = "xTr1m.com" -$WinRmCredentialUser = "win-eisvr3h3qra\\Administrator" +$WinRmCredentialUser = "Administrator" $WinRmCredentialPass = $null # prompted at runtime $UseWinRmHttps = $true # set false if using HTTP + TrustedHosts @@ -100,7 +100,7 @@ option confirm off open ftp://$($FtpUser):$($FtpPassword.Replace('`n','').Replace('`r',''))@$FtpHost lcd $PublishDir cd $RemoteDir -synchronize remote . -delete +synchronize remote . -delete -filemask="|web.config" exit "@ | Set-Content -Path $tempScript -Encoding UTF8