Skip to content

FTPS only upload problem #7

@mexmer

Description

@mexmer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions