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
-
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?
-
Hi @Justinvolved,
That error happens when HostName is not set:
https://github.com/Inedo/inedox-ftp/blob/master/FTP/InedoExtension/Operations/FtpOperationBase.cs#L120HostName 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#L160So, 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
-
This post is deleted!
-
Hey Steve,
Seems something was stuck somewhere, I re-created the resource and reset the service and now I can connect.
Cheers,
Justin