We have a couple production servers that are configured to only allow access via RDP. There are no acessible shares. The dev team have no say in changing this setup but we want to automate code deployments to these machines. Presently we have to set Remote Desktop to share a local drive with the server, then RDP to the server and manually copy the deployment.
Any one know of a way to tunnel over RDP and drop files to a given directory on the remote host from the command line? The instructions will need to be included in an MSBuild configuration.
In Remote Desktop , select a computer list in the sidebar of the main window, select one or more computers, then choose Manage > Copy Items. Add files or folders to the “Items to copy” list. Click Add to browse local volumes for items to copy, or drag files and folders to the list.
Once the RDP console opens, go to the remote machine's My Computer folder and click the new drive named Cloud Storage on <IP address> here. This is the temporary folder that will enable you to transfer files to and from the remote machine.
Transferring Files via the Clipboard As of RDM Mac 2022.1. 13, if you want to transfer a file between your computer and a remote system connected through the embedded RDP session type, simply copy and paste it! Copy the file on your system and paste it onto the remote computer, or vice-versa. It's that easy.
If you can get WS-MAN set up, PowerShell remoting and/or pmodem might be your ticket? http://www.nivot.org/2009/11/02/PowerShell20IntroducingThePModemFileTransferProtocol.aspx (Alternate link: http://www.nivot.org/blog/2009/11/default )
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With