TechTipsApp

Technology tips blog

  • Articles
    Categories
    • Tech news
    • Internet
    • Social Network
    • Google
    • Geeky Tips
    • Android
    • Windows 10
    Top Posts
    • Install Windows XP from USB
    • Install Windows 7 from USB
    • Open Facebook When It's Blocked
    • Partition Hard Drive Without Formatting
    • Reset Windows 7 Password
    • About
    • Contact
    • Privacy policy
    • Advertise
    • Terms of Conduct & Copyright Policy

Allow Your Blog Reader to Upload Files to Your Dropbox

Tanmay Internet Leave a Comment

Dropbox is one of the best tool for backing up files and synchronize them between computers. But Dropbox can be utilize in various fields. It has a wide rage of usability. We shall discuss all about how to get the maximum output from Dropbox sequentially. But today I’ll introduce an amazing feature of Dropbox. You can use Dropbox to allow your reader to upload any files from one of your website page.
Tip: Send or Upload Email Attachments to your Dropbox
Generally, anyone can upload to your Dropbox account if he knows your Dropbox user name and password. But is it possible anonymously upload files to your Dropbox? Not at all!
Our workaround is to create a php script to make a browser up-loader, associated with the Dropbox account. Just confirm that your server supports PHP. After that any one can upload files by visiting the page. You can also set a password to prevent strangers to upload at your Dropbox.
Uploader Demo
To upload any file from you computer, browse  it by clicking on the “Browse” button, put the password (our password is default) and click on “Upload the file to my Dropbox” button. your file will be uploaded in our Dropbox account.

How to allow your blog readers to upload files to your Dropbox account

Create the folder in your Dropbox account to allow your readers or friend to upload files
Log-in to you Dropbox account and create a folder there.
Now follow the steps below.
1. Download the script with the instructions.
2. Extract the RAR file. You will find there two files index.php and DropboxUploader.php.
3. Now open the index.php file with any HTML editor or simply notepad.
4. Find for the line (27) $passw = "default"; //change this to a password of your choice and change the password if you want or keep it as it is.
5. Find out the line (52) $uploader = new DropboxUploader('you@yourmail.com', 'password');// enter dropbox credentials. Enter your Dropbox credentials.
6. Now go to the line (75) containing <input style="display:none" type="text" name="dest" value="upload" />. Enter the name of the folder of your Dropbox account (created earlier) where you want to allow your readers to upload files.

7. Save that index.php file.
8. Create a folder in your website directory. Upload both the files index.php and DropboxUploader.php there.
Now you are done. Every one who knows the url of that directory (and also the password)  can upload files to your Dropbox account.

How to utilize Dropbox uploader

1. If you accept guest articles then you can use the Dropbox uploader to let the author to upload their articles in various file format.
2. Your blog readers can upload pictures, project to share them with other readers.
3. Some one can send you some ideas.
What about your opinion? Please drop them at the comment area.
[Thanks Amit]

Post Tags: Blog, Dropbox, Upload
Similar Articles from This Blog
Install Contact Page in WordPress Blog Without Any Plugin
Install Contact Page in WordPress Blog Without Any Plugin
Remotely Shut Down Your PC from Mobile Phone Using Dropbox
Remotely Shut Down Your PC from Mobile Phone Using Dropbox
Automatically Backup Emails as PDF to Dropbox and Google Drive
Automatically Backup Emails as PDF to Dropbox and Google Drive
Add Dropbox, Google Drive as Storage Service to MS Office
Add Dropbox, Google Drive as Storage Service to MS Office
Sync Firefox Bookmarks and Profile Data Using Dropbox
Sync Firefox Bookmarks and Profile Data Using Dropbox
Allow Other Users to Upload Files To Your Dropbox Account
Allow Other Users to Upload Files To Your Dropbox Account

Comments

  1. Sahil Kotak :

    It can be dangerous as well (anonymous user uploading something) isn’t it?

    Reply
  2. Tanmay :

    No Sahil. There is nothing to worry. You are not using any data base of your site and not uploading those files in your hosting server. You are just using your server to run the php script that will upload the files at Dropbox. And Dropbox has been launched to upload files. So they will care about that if any thing suspicious has been found.

    Reply
  3. Erik Hantsoe :

    I’m trying you great script, but keep getting this error:
    Error: Cannot execute request: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
    I’m unable to locate where it fails, so… any ideas?

    Reply
  4. Tanmay :

    @Marius Tufte: Frankly, I did not tried to do that as thinks might go more complicated. However, let me know if you get any clue about that. Thanks for your words.

    Reply
  5. Charles :

    Hi I’m trying to use this script which is a great idea. Thanks. But i’m having the following error:
    Error: Cannot extract token! (form action=/login)
    any idea why?
    thanks

    Reply
    • Munish :

      Hi I’m trying to use this script which is a great idea. Thanks. But i’m having the following error:
      Error: Cannot extract token! (form action=/login). can you please help me how I can solve it?

      Reply
  6. Marius Tufte :

    @Charles: It’s because Dropbox changed something with their last update. I’ve been struggling with the same problem. I just figured it out. Visit dropbox.kingofcomedy.de and download du_v9. Use the DropboxUploader from v9, but use the index-file from this website. =)

    Reply
  7. Shailesh :

    The above script was running fine till date. But there is some problem now with the file upload. After running the code I am getting “Error: Upload failed!”. Please help and let me know what the problem is?
    There is no issue of permission, the code was running fine but suddenly stopped working.

    Reply
    • Tanmay Ahmed :

      Thank you for sharing the problem. Please allow us to investigate on the issue and will reply soon.

      Reply
      • Shailesh :

        Please reply to the issue of Dropbox uploader.
        After running the code I am getting “Error: Upload failed!”. Please help and let me know what the problem is?

        Reply
        • Shailesh :

          Please reply to the issue of Dropbox uploader.

          Reply
          • Tanmay Ahmed :

            We’re still investigating the issue. Hope, we’ll come back to you soon. Thanks for the patience.

  8. Francois :

    Hello,
    Script was working, but now getting the following error:
    Error: Cannot extract token! (form action=/login)
    The login/password info is fine so not sure why the error.
    Thanks.

    Reply
  9. Munish :

    Hi I’m trying to use this script which is a great idea. Thanks. But i’m having the following error:
    Error: Cannot extract token! (form action=/login)
    any idea why?
    thanks

    Reply
    • Munish :

      hello, Please reply to the issue of Dropbox uploader. Please help me. Its very urgent for me please.

      Reply
      • Tanmay Ahmed :

        Can you give the link of the page?

        Reply
      • Tanmay Ahmed :

        You can get an updated version of the uploader.php from here: https://github.com/jakajancar/DropboxUploader/blob/master/DropboxUploader.php

        Reply
  10. dupa :

    Dose not work! lost of time wankers!

    Reply
  11. sectorblue :

    I am having the same problem with the script. getting this error:
    Error: Cannot extract login CSRF token.
    So close…

    Reply

Leave a Comment Cancel reply

Your email address will not be published. Required fields are marked *

About Us

Tech Tips App is a technology blog, looking forward to broaden the mental horizons of technical geeks round the web. Striving hard to quench your technical thirst, we have put our best efforts on the line of exhaust to satisfy your versatile technical vocabulary.

Recently Published

  1. Partitioning Hard Drive in Windows 7 Without Formatting
  2. How to Find My Contacts on Google Map
  3. Introducing SMS Organizer by Microsoft is the Best SMS App
  4. How to Fix Windows Update When It Gets Stuck
  5. How to Get Rid of Windows 10 Automatic Repair Loop [Solved]
  6. Best Antivirus for Windows 10 (Is Windows Defender Good Enough?)
  7. Best Facebook Messenger Bots to Get more out of Messenger
  8. How to Fax a Document From Your Smartphone
  9. Top Social Media Platforms You Should Always Know About
  10. Bitcoin vs Altcoin: Where to Invest? – Guide For Dummies

© 2021 Tech Tips App All Rights Reserved  Post Sitemap