LetsEncryptWebApp icon indicating copy to clipboard operation
LetsEncryptWebApp copied to clipboard

FTPS only upload problem

Open mexmer opened this issue 7 years ago • 0 comments

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

mexmer avatar Oct 02 '18 16:10 mexmer