I have one requirement to copy file from from one server to another using octopus deploy. But am unable to copy because the both servers are running in a different account and there is no access to create any shared folders on to the servers. I heard this could be possible do with octopus artifacts.
Please provide a suggestion or help to get it done with octopus artifact.
I tried the below step in octopus deploy
New-OctopusArtifact -Path “D:\APPS\Mysite\File.xml” -Name “$([System.Environment]::\secondservername\D$)-File.xml”
this step i executed from my first server.
Please provide a best way to copy file from my first server to second server.