cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in hearing how one of our Community members uses Dropbox for sailing trips? Read all about it here.

Dropbox tips & tricks

Learn how to get the most out of Dropbox with other users like you.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to upload very large files using the command-line client

How to upload very large files using the command-line client

Jason R. C.
Helpful | Level 6

I was searching for how best to upload very large files (particularly without having to store them on the Dropbox main folder). I found this answer, which indicates that there's no way to do it without storing in the Dropbox folder.

 

However, I also subsequently found that was incorrect. It appears to be possible to use the command-line client. I would have replied to the other thread, but it appears to be locked, so I'm opening this thread to share the information.

 

After installing the client, I ran a command and it appears to be working:

 

```

dbxcli put /tmp/large-file

```

1 Reply 1

Dennisleon
New member | Level 2

@Jason R. C.HealthCareGov wrote:

It appears to be possible to use the command-line client.


Hello,

 

You're absolutely right! The dbxcli put command is a great way to upload large files directly to Dropbox using the command line, bypassing the need to store them in the main Dropbox folder.

Here's a breakdown of the command you provided:

dbxcli: This is the command to invoke the Dropbox command-line client.
put: This subcommand specifies the action, which is uploading a file.
/tmp/large-file: This is the path to the local file you want to upload.

File Path: Make sure the path to your local file is accurate.

Remote Path (Optional): You can specify a destination path within your Dropbox by adding it after the source file path. For example, dbxcli put /tmp/large-file /Documents/large_file.txt would upload the file to the "Documents" folder in your Dropbox.

Progress Indicator: The dbxcli put command might not provide a progress indicator by default. You can use the -v flag for verbose output to see upload progress.

By leveraging the dbxcli put command, you can efficiently upload large files directly to Dropbox from the command line, saving time and avoiding unnecessary storage usage in the main folder.

I hope the information may help you. 

 

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Dennisleon New member | Level 2
What do Dropbox user levels mean?