after i login to my server how do i upload a php script from incevio

June 4, 2019 237 views
Ubuntu DigitalOcean

i am a beginner i need help in layman terms, if possible

1 Answer

You upload from outside the droplet, not while inside of it.

You should have what you want to upload in your machine.

The easiest way to copy is with scp command. scp is a command to copy over ssh.

An example of usage would be scp /path/to/your/local/file root@XXX.XXX.XXX.XXX:/path/to/where/you/want/to/put/the/file

Change root if you are logging into your droplet with another user.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!