Top Nav

How-To Allow Anyone To Upload To Your Dropbox

Dropbox Logo

Here at groovyPost we often talk about Dropbox and all the various things you can do with it. Today we have yet another groovyTip for Dropbox, we’ll show you just how easy it is to allow anyone to upload to a public folder on your Dropbox.

 

 

When we start to talk about PHP and scripting, it can sound really complicated.  This time, it isn’t!  Basically you willl be downloading a pre-made PHP-script based webpage that will grant permission to upload to your Dropbox. We will need to do a few edits on it in the following steps, but for the most part all of the hard-work has already been done for us thanks to the script developer!

How-To Setup A Script To Allow Anyone To Upload To Your Dropbox Folders {Screencast}

[flv:http://assets.groovypost.com/vid/2010/How-To-Allow-Anyone-To-Upload-To-Your-Dropbox.mp4 640 362]

How-To Setup A Script To Allow Anyone To Upload To Your Dropbox Folders {Step-by-Step}

Step 1 – Download The PHP Script Files

First, you need to download a few files that are essential to make this work.

Here is the script package download link. Credit goes to Jake Jancar for creating this groovy script.

Simply extract the two PHP files to a new empty folder to get them prepared.

Step 2 – Edit The Files

You need to editi the index.php file that you just extracted. You can use Adobe Dreamweaver or Microsoft Office FrontPage. If you don’t have either of those programs, notepad++ will work just fine too.

Launch your editing program and Open index.php in in.  Scroll down to the 48th row and Replace [email protected] with the your Dropbox account email and then Replace password with your Dropbox account password.  Be sure to leave the hyphen ‘’ marks,  PHP needs them to function!

how to php edit a dropbox upload script

When you’re done simply save your updated file over the original. (File > Save or Ctrl+S)

Step 3 – Upload The PHP File To Your Website

All you have to do now is to upload the PHP files to a new directory on your website and then give the uploader link to the people you want to have access to the your Dropbox. Be careful though! If the link falls into the wrong hands you may get your dropbox filled with prank files or viruses! Give the link only to the people you trust!

Done!

If you have any questions the comment section will be more than happy to accept them. Check out some of our other groovy Dropbox tips and Subscribe to our RSS Feed for daily updates.

More Reading:

, , , ,

8 Responses to How-To Allow Anyone To Upload To Your Dropbox

  1. Juihuan September 11, 2010 at 7:52 am #

    Dropbox is great and all but for me, FTP on my web host is unlimited and with a batch file, just like dropbox oh no 2 gig limit.

    • MrGroove September 11, 2010 at 11:10 pm #

      That might work but it sounds like added complexity plus you get no mobile support. That being said, if it works for you perfect! Sounds like you have a good workflow.

  2. JaceMan October 29, 2010 at 12:24 pm #

    What are the file size limits for this script? Are there any? If yes, are the controlled by the dropbox limit or by the limitations on your web host’s file size, ftp, or php requirements?

    It looks like a slick system, but I am curious as to what size limits may be imposed. That limit will decide whether this solution is or is not practical for many people.

  3. realist August 7, 2011 at 2:11 pm #

    I can see potential benefits, but I think I prefer letting people use anonymous login to upload to my FTP server. They don’t need to know a password and the quota is under my own control. They also cannot see anything else, not even the file they just uploaded.

    I actually have paid storage for Dropbox, but most people don’t.

    However, the real issue is the size of the file being sent. If it’s “normal”, why not just send email in the first place? Interestingly Sugarsync lets you upload files via email but not Dropbox.
    If it’s “enormous”, an FTP server is a better place, at the very least for the download time once it’s actually there.

  4. Miss O September 4, 2011 at 10:07 pm #

    Hello MrGroove,
    Thanks for the drop box articles. Really helpful.

    Was fine till i got to step 3…
    Step 3 – Upload The PHP File To Your Website (

    All you have to do now is to upload the PHP files to a new directory ( what directory?)

    on your website..( Do you mean my website thats under construction, or my drop box??)
    and then give the uploader link to the people you want to have access to the your Dropbox.

    Be careful though! If the link falls into the wrong hands you may get your dropbox filled with prank files or viruses! Give the link only to the people you trust!

    Thanks In |Anticipation for yr help.

  5. sex filmy February 29, 2012 at 1:33 pm #

    At last, something nice and very clear. I’ll check back here often many times. Yours

  6. greenSquid May 27, 2012 at 9:58 pm #

    Followed directions and get the following error when uploading:

    Error: Cannot execute request: SSL certificate problem

  7. billmotley February 5, 2013 at 12:52 pm #

    What MrGroove said.

Leave a Reply