LetsEncryptWebApp
LetsEncryptWebApp copied to clipboard
FTPS only upload problem
if site publishing is set to FTPS only, chalenge request will fail, because it attempts to use FTP, not FTPS.
Exception calling "UploadFile" with "2" argument(s): "System error."
At E:\Source\github\Azure\LetsEncryptWebApp\WebAppFiles.ps1:28 char:35
+ $webclient.UploadFile($uri, $(Get-ChildItem $File).FullName)
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Exception calling "UploadFile" with "2" argument(s): "System error."
At E:\Source\github\Azure\LetsEncryptWebApp\WebAppFiles.ps1:28 char:35
+ $webclient.UploadFile($uri, $(Get-ChildItem $File).FullName)
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
publishing trough FTP must be enabled