Skip to content

FTPS only upload problem #7

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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