Report this

What is the reason for this report?

How to uplaod file from computer with console?

Posted on September 19, 2016

I want to upload a large file so I want to do so from the droplet’s console. The file is on my compouter. How do I do that?



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.

Running a command on your local computer to upload files to your server is pretty easy on macOS or Linux where you can use scp:

scp -r /path/to/my/files root@:0.0.0.0:/path/on/my/server

or rsync

rsync -avz /path/to/my/files root@:0.0.0.0:/path/on/my/server

While there are versions of rsync and scp/sftp available for windows they are not installed by default and getting started with a GUI client like Filezilla might be an easier way to go.

Thank you both for your answers. I ended up transferring the file through FTP.

This tutorial helped me a lot! As I already had Putty installed I use pageant to insert my passphrase. I t was very very easy! There goes the link:

https://www.digitalocean.com/community/tutorials/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.