Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    FTP Extension

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 8 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Justinvolved
      last edited by

      Hi,

      Im trying to deploy an artifact to a server, first I want to deploy the App_offline.htm file.
      I have created a global resource and credentials, but my deploy script complains no FTP server is specified, the ftp server address/port and username/pwd are in the resources/credentials what could I be doing wrong?

      879f485a-9e11-49ed-9df3-fb4b09eb1ae9-Screenshot 2023-07-03 154434.png

      811d2c21-7ab5-41a2-bfca-9aab68937e8c-image.png

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @Justinvolved
        last edited by

        Hi @Justinvolved,

        That error happens when HostName is not set:
        https://github.com/Inedo/inedox-ftp/blob/master/FTP/InedoExtension/Operations/FtpOperationBase.cs#L120

        HostName should be mapped from the Resource, but unfortunately it doesn't look like we have validation code in there to indicate if there's an invalid Resource name; it just silently fails:
        https://github.com/Inedo/inedox-ftp/blob/master/FTP/InedoExtension/Operations/FtpOperationBase.cs#L160

        So, I'm guessing that the resource isn't being retrieved properly; can you try putting global:: in front of the ResourceName? Since you mentioned it's global...

        Cheers,
        Steve

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          Justinvolved @stevedennis
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • J Offline
            Justinvolved
            last edited by

            Hey Steve,

            Seems something was stuck somewhere, I re-created the resource and reset the service and now I can connect.

            Cheers,
            Justin

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation