I have a digital ocean droplet, I also have my local windows machine. Currently, I transfer files using psftp and a Batch file that i schedule using windows task scheduler to copy files FROM my windows machine INTO my digital Ocean droplet.
However, instead of copying from my local windows machine, I want to set up the same process on the Digital Ocean droplet to connect to my windows machine, and copy files from a certain directory. That is, using some secure protocol I want to know the code that will allow me to do the following:
I was hoping this was an easy task
Thanks in advance
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @Puma,
I’ll recommend using
pscp
. This will allow you to copy files from Ubuntu to Windows machines and the other way around. Pscp should be installed on both machines and it can work like thatwhere -i is for your public key location and XXX.XXX.XXX.XXX is for your actual IP address.