19

I have a user in a linux server (Debian) with ssh access, and have some files on it. I need to copy the files to my Dropbox. but I donot want to copy to my Dropbox in my PC and Laptop, I want to first copy to my Dropbox account directly then sync to my PC and Laptop. Is scp work?

  • 1
    I'm not totally sure I follow the question. Why not add Dropbox to the server? dropbox.com/install?os=lnx – wlraider70 Apr 4 '13 at 20:14
  • @wlraider70 make an answer of your comment - it looks excellent. – guntbert Apr 4 '13 at 20:18
21

Here is a better option, a SHELL script that will allow you to upload/download/delete files from the terminal;

https://github.com/andreafabrizi/Dropbox-Uploader

Tested and works just great.

| improve this answer | |
  • 3
    Although it's a good option, I wouldn't like to install private stuff from someone else to rely my database backups on my server. The CLI looks like a better choice IMO. – mau Dec 16 '13 at 18:23
5

Maybe https://couchdrop.io/

The secure, easy to use Cloud scp and http upload server.

scp $filename $username@ssh.couchdrop.io:
| improve this answer | |
  • Brilliant solution! Thanks! – David Woakes Dec 13 '19 at 11:02
4

Why not add Dropbox to the server? There is a CLI option if you need it.

http://dropbox.com/install?os=lnx

Try this:

scp somefile username@server:/home/username/

| improve this answer | |
  • I have no sudo permission ... – Xbuffer Apr 4 '13 at 21:19
  • In fact, you don't need sudo permissions. I just have installed on a linux server and it's working like a charm. – mau Dec 16 '13 at 18:21
  • 5
    Why not add Dropbox to the server? Because it may not be a private server where I do not want to download and sync all my local files. – cnvzmxcvmcx Jun 30 '14 at 3:13
  • 6
    The question here is not about syncing, it's about pushing. Installing Dropbox implies making all the files public, while the idea I detect here is to use Dropbox to backup file, or as a one-way push. – Chop Sep 29 '15 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.